PSTypeName Class

Definition

Represents Type, but can be used where a real type might not be available, in which case the name of the type can be used.

public class PSTypeName
Inheritance
PSTypeName

Constructors

PSTypeName(ITypeName)
PSTypeName(TypeDefinitionAst)
PSTypeName(String)

This constructor is used when the type may not exist, or is not loaded.

PSTypeName(Type)

This constructor is used when the type exists and is currently loaded.

Properties

Name

Return the name of the type

Type

Return the type with metadata, or null if the type is not loaded.

TypeDefinitionAst

Methods

ToString()

Returns a String that represents the current PSTypeName.