編輯

共用方式為


XmlnsPrefixAttribute(String, String) Constructor

Definition

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.

prefix
String

A String that contains the value for Prefix.

Exceptions

xmlNamespace is a null reference (Visual Basic Nothing).

-or-

prefix is a null reference (Visual Basic Nothing).

Applies to