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
- writer
Type: System.Ext.Xml. . :: . .XmlWriter
The XML writer that the attributes are written to.
- localName
Type: System. . :: . .String
The local name of the attribute.
- isRequired
Type: System. . :: . .Boolean
true if the element is required, or false if not.
- value
Type: System. . :: . .Object
The value of the attribute.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.