XamlTypeName Class

.NET Framework (current version)
 

Provides a means to specify a XAML type in terms of name and namespace.

Namespace:   System.Xaml.Schema
Assembly:  System.Xaml (in System.Xaml.dll)

System.Object
  System.Xaml.Schema.XamlTypeName

public class XamlTypeName

NameDescription
System_CAPS_pubmethodXamlTypeName()

Initializes a new instance of the XamlTypeName class.

System_CAPS_pubmethodXamlTypeName(String, String)

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

System_CAPS_pubmethodXamlTypeName(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.

System_CAPS_pubmethodXamlTypeName(XamlType)

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

NameDescription
System_CAPS_pubpropertyName

Gets the name used to construct this XamlTypeName.

System_CAPS_pubpropertyNamespace

Gets the XAML namespace identifier used to construct this XamlTypeName.

System_CAPS_pubpropertyTypeArguments

Gets the type arguments used to construct this XamlTypeName.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticParse(String, IXamlNamespaceResolver)

Provides a XamlTypeName value based on a type name and an object that can resolve a markup prefix into a namespace.

System_CAPS_pubmethodSystem_CAPS_staticParseList(String, IXamlNamespaceResolver)

Provides a XamlTypeName value based on a string that can specify multiple type names, and an object that can resolve a markup prefix into a namespace.

System_CAPS_pubmethodToString()

Converts the value of this XamlTypeName to its equivalent string representation.(Overrides Object.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticToString(IList<XamlTypeName>, INamespacePrefixLookup)

Converts the value of this XamlTypeName to its equivalent string representation, which can be used in markup syntax for an object element usage of multiple types.

System_CAPS_pubmethodToString(INamespacePrefixLookup)

Converts the value of this XamlTypeName to its equivalent string representation, which can be used in markup syntax for an object element usage of a type.

System_CAPS_pubmethodSystem_CAPS_staticTryParse(String, IXamlNamespaceResolver, XamlTypeName)

Provides a XamlTypeName value based on a type name and an object that can resolve a markup prefix into a namespace.

System_CAPS_pubmethodSystem_CAPS_staticTryParseList(String, IXamlNamespaceResolver, IList<XamlTypeName>)

Provides a XamlTypeName value based on a string that can specify multiple type names, and an object that can resolve a markup prefix into a namespace.

XamlType is the type information class in the XAML type system, whereas XamlTypeName is more of a data structure that provides different ways of specifying that type. XamlTypeName also provides static helper methods for generating a XamlTypeName by resolving an existing type identifier in a XAML namespace.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: