TypeIdentifier Constructor (String, String)
Initializes a new instance of the TypeIdentifier class with the specified XML namespace and type name.
Namespace: Microsoft.Windows.Design.Metadata
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public Sub New ( _
xmlNamespace As String, _
name As String _
)
public TypeIdentifier(
string xmlNamespace,
string name
)
public:
TypeIdentifier(
String^ xmlNamespace,
String^ name
)
new :
xmlNamespace:string *
name:string -> TypeIdentifier
public function TypeIdentifier(
xmlNamespace : String,
name : String
)
Parameters
- xmlNamespace
Type: System.String
The XML namespace in which the type is declared.
- name
Type: System.String
The name of the type.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | xmlNamespace or name is nulla null reference (Nothing in Visual Basic). |
Remarks
The type name should be a simple name for the type in the specified namespace.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.