Share via


WriteStartElement Method (String, String)

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

When overridden in a derived class, writes the specified start tag and associates it with the given namespace.

Namespace:  System.Ext.Xml
Assembly:  MFDpwsExtensions (in MFDpwsExtensions.dll)

Syntax

'Declaration
Public Function WriteStartElement ( _
    localName As String, _
    ns As String _
) As String
public string WriteStartElement(
    string localName,
    string ns
)
public:
String^ WriteStartElement(
    String^ localName, 
    String^ ns
)
member WriteStartElement : 
        localName:string * 
        ns:string -> string 
public function WriteStartElement(
    localName : String, 
    ns : String
) : String

Parameters

  • ns
    Type: System. . :: . .String
    The namespace URI to associate with the element. If this namespace is already in scope and has an associated prefix, the writer automatically writes that prefix also.

Return Value

Type: System. . :: . .String
Returns String.

.NET Framework Security

See Also

Reference

XmlWriter Class

WriteStartElement Overload

System.Ext.Xml Namespace