PeerContact.FromXml(String) メソッド

定義

指定された XML データに基づいて PeerContact インスタンスを作成します。

public:
 static System::Net::PeerToPeer::Collaboration::PeerContact ^ FromXml(System::String ^ peerContactXml);
[System.Security.SecurityCritical]
public static System.Net.PeerToPeer.Collaboration.PeerContact FromXml(string peerContactXml);
[<System.Security.SecurityCritical>]
static member FromXml : string -> System.Net.PeerToPeer.Collaboration.PeerContact
Public Shared Function FromXml (peerContactXml As String) As PeerContact

パラメーター

peerContactXml
String

PeerContactの再構築に使用される XML エンコード。

返品

PeerContact インスタンスをエンコードするための XML オブジェクト モデルを表す文字列。

属性

例外

パラメーターを nullすることはできません。

注釈

パラメーターとして渡す文字列は、 ToXmlから取得する必要があります。

このクラスは、コラボレーション インフラストラクチャ内で使用するための単純な XML オブジェクト モデルの軽量実装であり、一般的な XML オブジェクト モデルとして使用されるものではありません。

適用対象