PropertyMemberAst Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The ast for a property.
public ref class PropertyMemberAst : System::Management::Automation::Language::MemberAst
public class PropertyMemberAst : System.Management.Automation.Language.MemberAst
type PropertyMemberAst = class
inherit MemberAst
Public Class PropertyMemberAst
Inherits MemberAst
- Inheritance
Constructors
PropertyMemberAst(IScriptExtent, String, TypeConstraintAst, IEnumerable<AttributeAst>, PropertyAttributes, ExpressionAst) |
Construct a property member. |
Properties
Attributes |
The custom attributes of the property. This property is never null. |
Extent |
The extent in the source this ast represents. (Inherited from Ast) |
InitialValue |
The ast for the initial value of the property. This property may be null if no initial value was specified. |
IsHidden |
Return true if the property is hidden. |
IsPrivate |
Return true if the property is private. |
IsPublic |
Return true if the property is public. |
IsStatic |
Return true if the property is static. |
Name |
The name of the property. |
Parent |
The parent tree for this node. (Inherited from Ast) |
PropertyAttributes |
The attributes (like public or static) of the property. |
PropertyType |
The ast for the type of the property. This property may be null if no type was specified. |
Methods
Copy() |
Copy the PropertyMemberAst. |
Find(Func<Ast,Boolean>, Boolean) |
Traverse the entire Ast, returning the first node in the tree for which |
FindAll(Func<Ast,Boolean>, Boolean) |
Traverse the entire Ast, returning all nodes in the tree for which |
SafeGetValue() |
Constructs the resultant object from the AST and returns it if it is safe. (Inherited from Ast) |
SafeGetValue(Boolean) |
Constructs the resultant object from the AST and returns it if it is safe. (Inherited from Ast) |
ToString() |
Formats the ast and returns a string. (Inherited from Ast) |
Visit(AstVisitor) |
Visit each node in the Ast, calling the methods in |
Visit(ICustomAstVisitor) |
Visit the Ast using a visitor that can choose how the tree traversal is performed. This visit method is for advanced uses of the visitor pattern where an AstVisitor is insufficient. (Inherited from Ast) |