XmlnsPrefixAttribute(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the XmlnsPrefixAttribute class, initializing XmlNamespace and Prefix.
public:
XmlnsPrefixAttribute(System::String ^ xmlNamespace, System::String ^ prefix);
public XmlnsPrefixAttribute (string xmlNamespace, string prefix);
new System.Workflow.ComponentModel.Serialization.XmlnsPrefixAttribute : string * string -> System.Workflow.ComponentModel.Serialization.XmlnsPrefixAttribute
Public Sub New (xmlNamespace As String, prefix As String)
Parameters
- xmlNamespace
- String
A String that contains the value for XmlNamespace.
Exceptions
xmlNamespace
is a null reference (Visual Basic Nothing
).
-or-
prefix
is a null reference (Visual Basic Nothing
).
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.