Partager via


XopDocument.Encoding Property

Gets or sets the encoding that is used in the XOP package.

Namespace: Microsoft.Web.Services3.Mime
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim xopDocument1 As XopDocument

Dim returnValue As Encoding
returnValue = xopDocument1.Encoding

Dim sampleValue As Encoding
xopDocument1.Encoding = sampleValue

Syntax

'Declaration
Public Shadows Property Encoding() As Encoding
public new Encoding Encoding {get; set;}
public:
property Encoding^ Encoding {
    Encoding^ get();
    void set(Encoding^ value);
}
new public Encoding get_Encoding();
public void set_Encoding(Encoding);
public hide function get Encoding() : Encoding;
public hide function set Encoding(Encoding);

Property Value

A System.Text.Encoding that represents the encoding that is used in the XOP package.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

XopDocument Class
XopDocument Members
Microsoft.Web.Services3.Mime Namespace