共用方式為


PeerContact.OnObjectChanged(ObjectChangedEventArgs) 方法

定義

當遠端對等新增、更新或移除 PeerObject 時,會引發 ObjectChanged 事件。

protected:
 virtual void OnObjectChanged(System::Net::PeerToPeer::Collaboration::ObjectChangedEventArgs ^ objChangedArgs);
protected virtual void OnObjectChanged (System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs objChangedArgs);
abstract member OnObjectChanged : System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs -> unit
override this.OnObjectChanged : System.Net.PeerToPeer.Collaboration.ObjectChangedEventArgs -> unit
Protected Overridable Sub OnObjectChanged (objChangedArgs As ObjectChangedEventArgs)

參數

objChangedArgs
ObjectChangedEventArgs

ObjectChangedEventArgs 所指定的物件變更類型。

適用於

另請參閱