Compartilhar via


ArrayTypeName Class

Definition

Represents the name of an array type including the dimensions.

public ref class ArrayTypeName sealed : System::Management::Automation::Language::ITypeName
public sealed class ArrayTypeName : System.Management.Automation.Language.ITypeName
type ArrayTypeName = class
    interface ITypeName
Public NotInheritable Class ArrayTypeName
Implements ITypeName
Inheritance
ArrayTypeName
Implements

Constructors

ArrayTypeName(IScriptExtent, ITypeName, Int32)

Construct an ArrayTypeName.

Properties

AssemblyName

The name of the assembly, if specified, otherwise null.

ElementType

The element type of the array.

Extent

The extent of the typename.

FullName

Return the typename, using PowerShell syntax for the array dimensions.

IsArray

Returns true always as this class represents arrays.

IsGeneric

Returns false always as this class never represents generics.

Name

The name of the type, including any namespace, but not including the assembly name, using PowerShell syntax for the array dimensions.

Rank

The rank of the array.

Methods

Equals(Object)
GetHashCode()
GetReflectionAttributeType()

Always return null, arrays can never be an attribute.

GetReflectionType()

Returns the Type that this typename represents, if such a type exists, null otherwise.

ToString()

Simply return the FullName of the type.

Applies to