編輯

共用方式為


RemotingSurrogateSelector.SetRootObject(Object) Method

Definition

Sets the object at the root of the object graph.

public:
 void SetRootObject(System::Object ^ obj);
public void SetRootObject (object obj);
member this.SetRootObject : obj -> unit
Public Sub SetRootObject (obj As Object)

Parameters

obj
Object

The object at the root of the object graph.

Exceptions

The obj parameter is null.

Applies to