Udostępnij za pośrednictwem


ArrayTypeName(IScriptExtent, ITypeName, Int32) Constructor

Definition

Construct an ArrayTypeName.

public:
 ArrayTypeName(System::Management::Automation::Language::IScriptExtent ^ extent, System::Management::Automation::Language::ITypeName ^ elementType, int rank);
public ArrayTypeName (System.Management.Automation.Language.IScriptExtent extent, System.Management.Automation.Language.ITypeName elementType, int rank);
new System.Management.Automation.Language.ArrayTypeName : System.Management.Automation.Language.IScriptExtent * System.Management.Automation.Language.ITypeName * int -> System.Management.Automation.Language.ArrayTypeName
Public Sub New (extent As IScriptExtent, elementType As ITypeName, rank As Integer)

Parameters

extent
IScriptExtent

The extent of the array typename.

elementType
ITypeName

The name of the element type.

rank
Int32

The number of dimensions in the array.

Exceptions

If extent or elementType is null.

If rank is 0 or negative.

Applies to