Compartilhar via


TypeConfigurationEntry Constructors

Definition

Overloads

TypeConfigurationEntry(String)

Initiate an instance for type configuration entry.

TypeConfigurationEntry(TypeData, Boolean)

Initiate an instance for type configuration entry.

TypeConfigurationEntry(String, String)

Initiate an instance for type configuration entry.

TypeConfigurationEntry(String)

Initiate an instance for type configuration entry.

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

Parameters

fileName
String

File name that contains the types configuration information.

Exceptions

when fileName is null, empty or does not end in .ps1xml

Applies to

TypeConfigurationEntry(TypeData, Boolean)

Initiate an instance for type configuration entry.

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

Parameters

typeData
TypeData

TypeData instance

isRemove
Boolean

Specify the operation with the typedata

Applies to

TypeConfigurationEntry(String, String)

Initiate an instance for type configuration entry.

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

Parameters

name
String

Name of the type configuration entry

fileName
String

File name that contains the types configuration information.

Exceptions

when fileName is null or empty

Applies to