次の方法で共有


ReflectionTypeName Class

Definition

A class that allows a Type to be used directly in the PowerShell ast.

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

Constructors

ReflectionTypeName(Type)

Construct a typename from a Type.

Properties

AssemblyName

The name of the assembly.

Extent

The extent of the typename.

FullName

Returns the typename in PowerShell syntax.

IsArray

Returns true if the type is an array, false otherwise.

IsGeneric

Returns true if the type is a generic, false otherwise.

Name

Returns the typename in PowerShell syntax.

Methods

Equals(Object)
GetHashCode()
GetReflectionAttributeType()

Assuming the typename is an attribute, returns the Type that this typename represents.

GetReflectionType()

Returns the Type for this typename. Never returns null.

ToString()

Simply return the FullName of the type.

Applies to