Writes an xmlns namespace declaration.
Namespace: Microsoft.IdentityModel.Protocols.XmlSignature
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As DelegatingXmlDictionaryWriter
Dim prefix As String
Dim namespaceUri As String

instance.WriteXmlnsAttribute(prefix, namespaceUri)

Syntax

Visual Basic
Public Overrides Sub WriteXmlnsAttribute ( _
		prefix As String, _
		namespaceUri As String _
)
C#
public override void WriteXmlnsAttribute (
		string prefix,
		string namespaceUri
)
C++
public:
virtual void WriteXmlnsAttribute (
		String^ prefix, 
		String^ namespaceUri
) override
J#
public void WriteXmlnsAttribute (
		String prefix, 
		String namespaceUri
)
JScript
public override function WriteXmlnsAttribute (
		prefix : String, 
		namespaceUri : String
)

Parameters

prefix

The prefix of the namespace declaration.

namespaceUri

The namespace Uri itself.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also