共用方式為


SessionStateTypeEntry Constructors

Definition

Overloads

SessionStateTypeEntry(TypeTable)

Loads all the types specified in the typeTable.

SessionStateTypeEntry(String)

Loads all entries from the types file.

SessionStateTypeEntry(TypeData, Boolean)

Loads all entries from the typeData.

SessionStateTypeEntry(TypeTable)

Loads all the types specified in the typeTable.

public:
 SessionStateTypeEntry(System::Management::Automation::Runspaces::TypeTable ^ typeTable);
public SessionStateTypeEntry (System.Management.Automation.Runspaces.TypeTable typeTable);
new System.Management.Automation.Runspaces.SessionStateTypeEntry : System.Management.Automation.Runspaces.TypeTable -> System.Management.Automation.Runspaces.SessionStateTypeEntry
Public Sub New (typeTable As TypeTable)

Parameters

typeTable
TypeTable

Applies to

SessionStateTypeEntry(String)

Loads all entries from the types file.

public:
 SessionStateTypeEntry(System::String ^ fileName);
public:
 SessionStateTypeEntry(Platform::String ^ fileName);
 SessionStateTypeEntry(std::wstring const & fileName);
public SessionStateTypeEntry (string fileName);
new System.Management.Automation.Runspaces.SessionStateTypeEntry : string -> System.Management.Automation.Runspaces.SessionStateTypeEntry
Public Sub New (fileName As String)

Parameters

fileName
String

Applies to

SessionStateTypeEntry(TypeData, Boolean)

Loads all entries from the typeData.

public:
 SessionStateTypeEntry(System::Management::Automation::Runspaces::TypeData ^ typeData, bool isRemove);
public SessionStateTypeEntry (System.Management.Automation.Runspaces.TypeData typeData, bool isRemove);
new System.Management.Automation.Runspaces.SessionStateTypeEntry : System.Management.Automation.Runspaces.TypeData * bool -> System.Management.Automation.Runspaces.SessionStateTypeEntry
Public Sub New (typeData As TypeData, isRemove As Boolean)

Parameters

typeData
TypeData
isRemove
Boolean

Applies to