VistaDB 6
VistaDB.Provider Namespace / VistaDBParameterCollection Class / MemberwiseClone Method / MemberwiseClone(Boolean) Method
false to delete the current System.MarshalByRefObject object's identity, which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone, which will cause remoting client calls to be routed to the remote server object.


In This Topic
    MemberwiseClone(Boolean) Method
    In This Topic
    Creates a shallow copy of the current System.MarshalByRefObject object.
    Syntax
    'Declaration
     
    
    Protected Overloads Function MemberwiseClone( _
       ByVal cloneIdentity As System.Boolean _
    ) As System.MarshalByRefObject
    'Usage
     
    
    Dim instance As VistaDBParameterCollection
    Dim cloneIdentity As System.Boolean
    Dim value As System.MarshalByRefObject
     
    value = instance.MemberwiseClone(cloneIdentity)
    protected System.MarshalByRefObject MemberwiseClone( 
       System.bool cloneIdentity
    )

    Parameters

    cloneIdentity
    false to delete the current System.MarshalByRefObject object's identity, which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone, which will cause remoting client calls to be routed to the remote server object.

    Return Value

    A shallow copy of the current System.MarshalByRefObject object.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also