TypeTable.Clone(Boolean) 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.
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 Ifunshared
is False, return a clone that is exactly the same as this TypeTable instance.