Dela via


SessionStateFormatEntry Constructors

Definition

Overloads

SessionStateFormatEntry(ExtendedTypeDefinition)

Loads all the format data specified in the typeDefinition.

SessionStateFormatEntry(FormatTable)

Loads all the format data specified in the formatTable.

SessionStateFormatEntry(String)

Loads the entire formats file.

SessionStateFormatEntry(ExtendedTypeDefinition)

Loads all the format data specified in the typeDefinition.

public:
 SessionStateFormatEntry(System::Management::Automation::ExtendedTypeDefinition ^ typeDefinition);
public SessionStateFormatEntry (System.Management.Automation.ExtendedTypeDefinition typeDefinition);
new System.Management.Automation.Runspaces.SessionStateFormatEntry : System.Management.Automation.ExtendedTypeDefinition -> System.Management.Automation.Runspaces.SessionStateFormatEntry
Public Sub New (typeDefinition As ExtendedTypeDefinition)

Parameters

typeDefinition
ExtendedTypeDefinition

Applies to

SessionStateFormatEntry(FormatTable)

Loads all the format data specified in the formatTable.

public:
 SessionStateFormatEntry(System::Management::Automation::Runspaces::FormatTable ^ formattable);
public SessionStateFormatEntry (System.Management.Automation.Runspaces.FormatTable formattable);
new System.Management.Automation.Runspaces.SessionStateFormatEntry : System.Management.Automation.Runspaces.FormatTable -> System.Management.Automation.Runspaces.SessionStateFormatEntry
Public Sub New (formattable As FormatTable)

Parameters

formattable
FormatTable

Applies to

SessionStateFormatEntry(String)

Loads the entire formats file.

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

Parameters

fileName
String

Applies to