Share via


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.

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

See Also

Reference

TypeIdentifier Structure

TypeIdentifier Overload

Microsoft.Windows.Design.Metadata Namespace