Share via


TypeTable.Clone(Boolean) Method

Definition

Clone the TypeTable by doing a shallow copy of all the members.

public:
 System::Management::Automation::Runspaces::TypeTable ^ Clone(bool unshared);
public System.Management.Automation.Runspaces.TypeTable Clone (bool unshared);
member this.Clone : bool -> System.Management.Automation.Runspaces.TypeTable
Public Function Clone (unshared As Boolean) As TypeTable

Parameters

unshared
Boolean

Indicate that the clone of this TypeTable instance should not be marked as "Shared", even if this TypeTable instance itself is a shared TypeTable.

Returns

If

unshared

is True, return an unshared clone of this TypeTable instance If

unshared

is False, return a clone that is exactly the same as this TypeTable instance.

Applies to