XmlnsPrefixAttribute Constructor (String, String)

 

Initializes a new instance of the XmlnsPrefixAttribute class, initializing XmlNamespace and Prefix.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public XmlnsPrefixAttribute(
	string xmlNamespace,
	string prefix
)

Parameters

xmlNamespace
Type: System.String

A String that contains the value for XmlNamespace.

prefix
Type: System.String

A String that contains the value for Prefix.

Exception Condition
ArgumentNullException

xmlNamespace is a null reference (Visual Basic Nothing).

ArgumentNullException

prefix is a null reference (Visual Basic Nothing).

.NET Framework
Available since 3.0
Return to top
Show: