TypeTable.AddType(TypeData) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.