Redigera

Dela via


XmlnsDefinitionAttribute(String, String) Constructor

Definition

Initializes a new instance of the XmlnsDefinitionAttribute class, initializing XmlNamespace and ClrNamespace properties.

public:
 XmlnsDefinitionAttribute(System::String ^ xmlNamespace, System::String ^ clrNamespace);
public XmlnsDefinitionAttribute (string xmlNamespace, string clrNamespace);
new System.Workflow.ComponentModel.Serialization.XmlnsDefinitionAttribute : string * string -> System.Workflow.ComponentModel.Serialization.XmlnsDefinitionAttribute
Public Sub New (xmlNamespace As String, clrNamespace As String)

Parameters

xmlNamespace
String

A String that contains the value for XmlNamespace.

clrNamespace
String

A String that contains the value for ClrNamespace.

Exceptions

xmlNamespace is a null reference (Nothing in Visual Basic).

-or-

clrNamespace is a null reference (Nothing).

Applies to