Επεξεργασία

Κοινή χρήση μέσω


XamlTypeName Constructors

Definition

Initializes a new instance of the XamlTypeName class.

Overloads

XamlTypeName()

Initializes a new instance of the XamlTypeName class.

XamlTypeName(XamlType)

Initializes a new instance of the XamlTypeName class, based on an existing XamlType.

XamlTypeName(String, String)

Initializes a new instance of the XamlTypeName class, based on name and namespace strings.

XamlTypeName(String, String, IEnumerable<XamlTypeName>)

Initializes a new instance of the XamlTypeName class, based on name and namespace strings as well as an array of type arguments.

XamlTypeName()

Initializes a new instance of the XamlTypeName class.

public:
 XamlTypeName();
public XamlTypeName ();
Public Sub New ()

Applies to

XamlTypeName(XamlType)

Initializes a new instance of the XamlTypeName class, based on an existing XamlType.

public:
 XamlTypeName(System::Xaml::XamlType ^ xamlType);
public XamlTypeName (System.Xaml.XamlType xamlType);
new System.Xaml.Schema.XamlTypeName : System.Xaml.XamlType -> System.Xaml.Schema.XamlTypeName
Public Sub New (xamlType As XamlType)

Parameters

xamlType
XamlType

An existing XamlType.

Exceptions

xamlType is null.

Applies to

XamlTypeName(String, String)

Initializes a new instance of the XamlTypeName class, based on name and namespace strings.

public:
 XamlTypeName(System::String ^ xamlNamespace, System::String ^ name);
public XamlTypeName (string xamlNamespace, string name);
new System.Xaml.Schema.XamlTypeName : string * string -> System.Xaml.Schema.XamlTypeName
Public Sub New (xamlNamespace As String, name As String)

Parameters

xamlNamespace
String

The XAML namespace that contains name.

name
String

The name of the type to create a XamlTypeName for.

Applies to

XamlTypeName(String, String, IEnumerable<XamlTypeName>)

Initializes a new instance of the XamlTypeName class, based on name and namespace strings as well as an array of type arguments.

public:
 XamlTypeName(System::String ^ xamlNamespace, System::String ^ name, System::Collections::Generic::IEnumerable<System::Xaml::Schema::XamlTypeName ^> ^ typeArguments);
public XamlTypeName (string xamlNamespace, string name, System.Collections.Generic.IEnumerable<System.Xaml.Schema.XamlTypeName> typeArguments);
new System.Xaml.Schema.XamlTypeName : string * string * seq<System.Xaml.Schema.XamlTypeName> -> System.Xaml.Schema.XamlTypeName
Public Sub New (xamlNamespace As String, name As String, typeArguments As IEnumerable(Of XamlTypeName))

Parameters

xamlNamespace
String

The XAML namespace that contains name.

name
String

The name of the type to create a XamlTypeName for.

typeArguments
IEnumerable<XamlTypeName>

An array of type arguments, each of which must be a XamlTypeName.

Remarks

This is the signature to use if you are specifying a generic type and type arguments for that type.

Applies to