MimeXmlBinding.Part Property

Gets or sets the name of the MessagePart to which the MimeXmlBinding applies.

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)

public:
property String^ Part {
	String^ get ();
	void set (String^ value);
}
/** @property */
public String get_Part ()

/** @property */
public void set_Part (String value)

public function get Part () : String

public function set Part (value : String)

Not applicable.

Property Value

The name of the corresponding MessagePart. The default value is an empty string ("").

// Create an OutputBinding.
OutputBinding^ myOutputBinding = gcnew OutputBinding;
MimeXmlBinding^ myMimeXmlBinding = gcnew MimeXmlBinding;

// Initialize the Part property of the MimeXmlBinding.
myMimeXmlBinding->Part = "Body";

// Add the MimeXmlBinding to the OutputBinding.
myOutputBinding->Extensions->Add( myMimeXmlBinding );

// Create an OutputBinding.
OutputBinding myOutputBinding = new OutputBinding();
MimeXmlBinding myMimeXmlBinding = new MimeXmlBinding();

// Initialize the Part property of the MimeXmlBinding. 
myMimeXmlBinding.set_Part("Body");

// Add the MimeXmlBinding to the OutputBinding.
myOutputBinding.get_Extensions().Add(myMimeXmlBinding);

Windows 98, Windows Server 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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: