PSTypeName Class

Serves as a container for a type, typically a .NET Framework type. This class is introduced in Windows PowerShell 2.0.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As PSTypeName

public class PSTypeName
public class PSTypeName
public class PSTypeName

The PSTypeName object is used as a container for the type specified by the OutputTypeAttribute attribute. This attribute is used to specify what type is returned by a cmdlet. For more information about the OutputTypeAttribute attribute, see OutputType Attribute Declaration. It can be used as a container for a .NET Framework type or in cases where the real .NET Framework type is not available.


System.Object
  System.Management.Automation.PSTypeName

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2014 Microsoft