Share via


WriteAttribute Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes an attribute to the current element.

Namespace:  Ws.Services.Serialization
Assembly:  MFWsStack (in MFWsStack.dll)

Syntax

'Declaration
Protected Sub WriteAttribute ( _
    writer As XmlWriter, _
    localName As String, _
    isRequired As Boolean, _
    value As Object _
)
protected void WriteAttribute(
    XmlWriter writer,
    string localName,
    bool isRequired,
    Object value
)
protected:
void WriteAttribute(
    XmlWriter^ writer, 
    String^ localName, 
    bool isRequired, 
    Object^ value
)
member WriteAttribute : 
        writer:XmlWriter * 
        localName:string * 
        isRequired:bool * 
        value:Object -> unit 
protected function WriteAttribute(
    writer : XmlWriter, 
    localName : String, 
    isRequired : boolean, 
    value : Object
)

Parameters

.NET Framework Security

See Also

Reference

DataContractSerializer Class

Ws.Services.Serialization Namespace