ArrayTypeName(IScriptExtent, ITypeName, Int32) Constructor
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.
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.