Compartir a través de


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
Public Sub AddType (typeData As TypeData)

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