共用方式為


XmlSerializationWriter.WriteAttribute Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Instructs an XmlNode object to write an XML attribute that has no namespace specified for its name.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method WriteAttribute(String, array<Byte[]) Instructs an XmlWriter object to write an XML attribute that has no namespace specified for its name.
Protected method WriteAttribute(String, String) Instructs the XmlWriter to write an XML attribute that has no namespace specified for its name.
Protected method WriteAttribute(String, String, array<Byte[]) Instructs an XmlWriter object to write an XML attribute.
Protected method WriteAttribute(String, String, String) Writes an XML attribute.
Protected method WriteAttribute(String, String, String, String) Writes an XML attribute where the namespace prefix is provided manually.

Top