次の方法で共有


IndexExpressionAst Constructors

Definition

Overloads

IndexExpressionAst(IScriptExtent, ExpressionAst, ExpressionAst)

Construct an ast for an index expression.

IndexExpressionAst(IScriptExtent, ExpressionAst, ExpressionAst, Boolean)

Initializes a new instance of the IndexExpressionAst class.

IndexExpressionAst(IScriptExtent, ExpressionAst, ExpressionAst)

Construct an ast for an index expression.

public:
 IndexExpressionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::ExpressionAst ^ target, System::Management::Automation::Language::ExpressionAst ^ index);
public IndexExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ExpressionAst target, System.Management.Automation.Language.ExpressionAst index);
new System.Management.Automation.Language.IndexExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.ExpressionAst -> System.Management.Automation.Language.IndexExpressionAst
Public Sub New (extent As IScriptExtent, target As ExpressionAst, index As ExpressionAst)

Parameters

extent
IScriptExtent

The extent of the expression.

target
ExpressionAst

The expression being indexed.

index
ExpressionAst

The index expression.

Exceptions

If extent, target, or index is null.

Applies to

IndexExpressionAst(IScriptExtent, ExpressionAst, ExpressionAst, Boolean)

Initializes a new instance of the IndexExpressionAst class.

public IndexExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ExpressionAst target, System.Management.Automation.Language.ExpressionAst index, bool nullConditional);
new System.Management.Automation.Language.IndexExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.ExpressionAst * bool -> System.Management.Automation.Language.IndexExpressionAst
Public Sub New (extent As IScriptExtent, target As ExpressionAst, index As ExpressionAst, nullConditional As Boolean)

Parameters

extent
IScriptExtent

The extent of the expression.

target
ExpressionAst

The expression being indexed.

index
ExpressionAst

The index expression.

nullConditional
Boolean

Access the index only if the target is not null.

Exceptions

If extent, target, or index is null.

Applies to