TypeTable.AddType(TypeData) Method

Definition

Update the TypeTable by adding a TypeData instance.

public:
 void AddType(System::Management::Automation::Runspaces::TypeData ^ typeData);
public void AddType (System.Management.Automation.Runspaces.TypeData typeData);
member this.AddType : System.Management.Automation.Runspaces.TypeData -> unit

Parameters

typeData
TypeData

a TypeData instance to update the TypeTable

Exceptions

throw when the argument is null

throw when there were failures during the update

Applies to