InvokeMemberExpressionAst Constructors

Definition

Overloads

InvokeMemberExpressionAst(IScriptExtent, ExpressionAst, CommandElementAst, IEnumerable<ExpressionAst>, Boolean)

Initializes a new instance of the InvokeMemberExpressionAst class.

InvokeMemberExpressionAst(IScriptExtent, ExpressionAst, CommandElementAst, IEnumerable<ExpressionAst>, Boolean, Boolean)

Initializes a new instance of the InvokeMemberExpressionAst class.

InvokeMemberExpressionAst(IScriptExtent, ExpressionAst, CommandElementAst, IEnumerable<ExpressionAst>, Boolean, IList<ITypeName>)

Initializes a new instance of the InvokeMemberExpressionAst class.

InvokeMemberExpressionAst(IScriptExtent, ExpressionAst, CommandElementAst, IEnumerable<ExpressionAst>, Boolean, Boolean, IList<ITypeName>)

Initializes a new instance of the InvokeMemberExpressionAst class.

InvokeMemberExpressionAst(IScriptExtent, ExpressionAst, CommandElementAst, IEnumerable<ExpressionAst>, Boolean)

Initializes a new instance of the InvokeMemberExpressionAst class.

public:
 InvokeMemberExpressionAst(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::ExpressionAst ^ expression, System::Management::Automation::Language::CommandElementAst ^ method, System::Collections::Generic::IEnumerable<System::Management::Automation::Language::ExpressionAst ^> ^ arguments, bool static);
public InvokeMemberExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ExpressionAst expression, System.Management.Automation.Language.CommandElementAst method, System.Collections.Generic.IEnumerable<System.Management.Automation.Language.ExpressionAst> arguments, bool static);
new System.Management.Automation.Language.InvokeMemberExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.CommandElementAst * seq<System.Management.Automation.Language.ExpressionAst> * bool -> System.Management.Automation.Language.InvokeMemberExpressionAst
Public Sub New (extent As IScriptExtent, expression As ExpressionAst, method As CommandElementAst, arguments As IEnumerable(Of ExpressionAst), static As Boolean)

Parameters

extent
IScriptExtent

The extent of the expression, starting with the expression before the invocation operator and ending with the closing paren after the arguments.

expression
ExpressionAst

The expression before the invocation operator ('.', '::').

method
CommandElementAst

The method to invoke.

arguments
IEnumerable<ExpressionAst>

The arguments to pass to the method.

static
Boolean

True if the invocation is for a static method, using '::', false if invoking a method on an instance using '.'.

Exceptions

If extent is null.

Applies to

InvokeMemberExpressionAst(IScriptExtent, ExpressionAst, CommandElementAst, IEnumerable<ExpressionAst>, Boolean, Boolean)

Initializes a new instance of the InvokeMemberExpressionAst class.

public InvokeMemberExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ExpressionAst expression, System.Management.Automation.Language.CommandElementAst method, System.Collections.Generic.IEnumerable<System.Management.Automation.Language.ExpressionAst> arguments, bool static, bool nullConditional);
new System.Management.Automation.Language.InvokeMemberExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.CommandElementAst * seq<System.Management.Automation.Language.ExpressionAst> * bool * bool -> System.Management.Automation.Language.InvokeMemberExpressionAst
Public Sub New (extent As IScriptExtent, expression As ExpressionAst, method As CommandElementAst, arguments As IEnumerable(Of ExpressionAst), static As Boolean, nullConditional As Boolean)

Parameters

extent
IScriptExtent

The extent of the expression, starting with the expression before the invocation operator and ending with the closing paren after the arguments.

expression
ExpressionAst

The expression before the invocation operator ('.', '::' or '?.').

method
CommandElementAst

The method to invoke.

arguments
IEnumerable<ExpressionAst>

The arguments to pass to the method.

static
Boolean

True if the invocation is for a static method, using '::', false if invoking a method on an instance using '.' or '?.'.

nullConditional
Boolean

True if the operator used is '?.'.

Exceptions

If extent is null.

Applies to

InvokeMemberExpressionAst(IScriptExtent, ExpressionAst, CommandElementAst, IEnumerable<ExpressionAst>, Boolean, IList<ITypeName>)

Initializes a new instance of the InvokeMemberExpressionAst class.

public InvokeMemberExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ExpressionAst expression, System.Management.Automation.Language.CommandElementAst method, System.Collections.Generic.IEnumerable<System.Management.Automation.Language.ExpressionAst> arguments, bool static, System.Collections.Generic.IList<System.Management.Automation.Language.ITypeName> genericTypes);
new System.Management.Automation.Language.InvokeMemberExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.CommandElementAst * seq<System.Management.Automation.Language.ExpressionAst> * bool * System.Collections.Generic.IList<System.Management.Automation.Language.ITypeName> -> System.Management.Automation.Language.InvokeMemberExpressionAst
Public Sub New (extent As IScriptExtent, expression As ExpressionAst, method As CommandElementAst, arguments As IEnumerable(Of ExpressionAst), static As Boolean, genericTypes As IList(Of ITypeName))

Parameters

extent
IScriptExtent

The extent of the expression, starting with the expression before the invocation operator and ending with the closing paren after the arguments.

expression
ExpressionAst

The expression before the invocation operator ('.', '::').

method
CommandElementAst

The method to invoke.

arguments
IEnumerable<ExpressionAst>

The arguments to pass to the method.

static
Boolean

True if the invocation is for a static method, using '::', false if invoking a method on an instance using '.'.

genericTypes
IList<ITypeName>

The generic type arguments passed to the method.

Exceptions

If extent is null.

Applies to

InvokeMemberExpressionAst(IScriptExtent, ExpressionAst, CommandElementAst, IEnumerable<ExpressionAst>, Boolean, Boolean, IList<ITypeName>)

Initializes a new instance of the InvokeMemberExpressionAst class.

public InvokeMemberExpressionAst (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ExpressionAst expression, System.Management.Automation.Language.CommandElementAst method, System.Collections.Generic.IEnumerable<System.Management.Automation.Language.ExpressionAst> arguments, bool static, bool nullConditional, System.Collections.Generic.IList<System.Management.Automation.Language.ITypeName> genericTypes);
new System.Management.Automation.Language.InvokeMemberExpressionAst : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ExpressionAst * System.Management.Automation.Language.CommandElementAst * seq<System.Management.Automation.Language.ExpressionAst> * bool * bool * System.Collections.Generic.IList<System.Management.Automation.Language.ITypeName> -> System.Management.Automation.Language.InvokeMemberExpressionAst
Public Sub New (extent As IScriptExtent, expression As ExpressionAst, method As CommandElementAst, arguments As IEnumerable(Of ExpressionAst), static As Boolean, nullConditional As Boolean, genericTypes As IList(Of ITypeName))

Parameters

extent
IScriptExtent

The extent of the expression, starting with the expression before the invocation operator and ending with the closing paren after the arguments.

expression
ExpressionAst

The expression before the invocation operator ('.', '::' or '?.').

method
CommandElementAst

The method to invoke.

arguments
IEnumerable<ExpressionAst>

The arguments to pass to the method.

static
Boolean

True if the invocation is for a static method, using '::', false if invoking a method on an instance using '.' or '?.'.

nullConditional
Boolean

True if the operator used is '?.'.

genericTypes
IList<ITypeName>

The generic type arguments passed to the method.

Exceptions

If extent is null.

Applies to