XmlDictionaryWriter.WriteStartElement XmlDictionaryWriter.WriteStartElement XmlDictionaryWriter.WriteStartElement XmlDictionaryWriter.WriteStartElement Method

Definition

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

Overloads

WriteStartElement(XmlDictionaryString, XmlDictionaryString) WriteStartElement(XmlDictionaryString, XmlDictionaryString) WriteStartElement(XmlDictionaryString, XmlDictionaryString) WriteStartElement(XmlDictionaryString, XmlDictionaryString)

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

WriteStartElement(String, XmlDictionaryString, XmlDictionaryString) WriteStartElement(String, XmlDictionaryString, XmlDictionaryString) WriteStartElement(String, XmlDictionaryString, XmlDictionaryString) WriteStartElement(String, XmlDictionaryString, XmlDictionaryString)

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

WriteStartElement(XmlDictionaryString, XmlDictionaryString) WriteStartElement(XmlDictionaryString, XmlDictionaryString) WriteStartElement(XmlDictionaryString, XmlDictionaryString) WriteStartElement(XmlDictionaryString, XmlDictionaryString)

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);
override this.WriteStartElement : System.Xml.XmlDictionaryString * System.Xml.XmlDictionaryString -> unit
Public Sub WriteStartElement (localName As XmlDictionaryString, namespaceUri As XmlDictionaryString)

Parameters

namespaceUri
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

The namespace URI of the element.

Exceptions

WriteStartElement(String, XmlDictionaryString, XmlDictionaryString) WriteStartElement(String, XmlDictionaryString, XmlDictionaryString) WriteStartElement(String, XmlDictionaryString, XmlDictionaryString) WriteStartElement(String, XmlDictionaryString, XmlDictionaryString)

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);
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 String String String

The prefix of the element.

namespaceUri
XmlDictionaryString XmlDictionaryString XmlDictionaryString XmlDictionaryString

The namespace URI of the element.

Exceptions

Applies to