संपादित करें

इसके माध्यम से साझा किया गया


XmlDictionaryWriter.WriteStartElement Method

Definition

When overridden in a derived class, writes the specified start tag.

Overloads

WriteStartElement(XmlDictionaryString, XmlDictionaryString)

Writes the specified start tag and associates it with the given namespace.

WriteStartElement(String, XmlDictionaryString, XmlDictionaryString)

Writes the specified start tag and associates it with the given namespace and prefix.

WriteStartElement(XmlDictionaryString, XmlDictionaryString)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes the specified start tag and associates it with the given namespace.

public:
 void WriteStartElement(System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public void WriteStartElement (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
public void WriteStartElement (System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri);
override this.WriteStartElement : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> unit
Public Sub WriteStartElement (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString)

Parameters

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

Exceptions

The writer is closed.

Applies to

WriteStartElement(String, XmlDictionaryString, XmlDictionaryString)

Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs
Source:
XmlDictionaryWriter.cs

Writes the specified start tag and associates it with the given namespace and prefix.

public:
 virtual void WriteStartElement(System::String ^ prefix, System::Xml::XmlDictionaryString ^ localName, System::Xml::XmlDictionaryString ^ namespaceUri);
public virtual void WriteStartElement (string prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString namespaceUri);
public virtual void WriteStartElement (string? prefix, System.Xml.XmlDictionaryString localName, System.Xml.XmlDictionaryString? namespaceUri);
override this.WriteStartElement : string * System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> unit
Public Overridable Sub WriteStartElement (prefix As String, localName As XmlDictionaryString, namespaceUri As XmlDictionaryString)

Parameters

prefix
String

The prefix of the element.

localName
XmlDictionaryString

The local name of the element.

namespaceUri
XmlDictionaryString

The namespace URI of the element.

Exceptions

The writer is closed.

Applies to