SoapBodyBinding.Parts プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)

public: property array<String^>^ Parts { array<String^>^ get (); void set (array<String^>^ value); }
/** @property */ public String[] get_Parts () /** @property */ public void set_Parts (String[] value)
該当するメッセージ部分の名前を含む文字列配列。

SOAP が MimeMultipartRelatedBinding で使用されるときなどに、送信されるメッセージの一部を SOAP 本体以外にも表示できます。このような場合は、Extensions プロパティのほかのメンバによって、メッセージのほかの部分の位置を決定します。
このプロパティは、PartsString プロパティとまったく同じ情報を返しますが、結果は空白区切りの文字列内ではなく、配列内で返されます。

Dim mySoapBinding As New SoapBinding() mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http" mySoapBinding.Style = SoapBindingStyle.Document ' Get the URI for XML namespace of the SoapBinding class. Dim myNameSpace As String = SoapBinding.Namespace Console.WriteLine("The URI of the XML Namespace is :" + myNameSpace)
SoapBinding mySoapBinding = new SoapBinding(); mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"; mySoapBinding.Style = SoapBindingStyle.Document; // Get the URI for XML namespace of the SoapBinding class. String myNameSpace = SoapBinding.Namespace; Console.WriteLine("The URI of the XML Namespace is :"+myNameSpace);
SoapBinding^ mySoapBinding = gcnew SoapBinding; mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http"; mySoapBinding->Style = SoapBindingStyle::Document; // Get the URI for XML namespace of the SoapBinding class. String^ myNameSpace = SoapBinding::Namespace; Console::WriteLine( "The URI of the XML Namespace is :{0}", myNameSpace );
SoapBinding mySoapBinding = new SoapBinding(); mySoapBinding.set_Transport("http://schemas.xmlsoap.org/soap/http"); mySoapBinding.set_Style(SoapBindingStyle.Document); // Get the URI for XML namespace of the SoapBinding class. String myNameSpace = SoapBinding.Namespace; Console.WriteLine("The URI of the XML Namespace is :" + myNameSpace);

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- SoapBodyBinding.Parts プロパティのページへのリンク