This documentation is archived and is not being maintained.
XamlTypeName Class
Visual Studio 2010
Provides a means to specify a XAML type in terms of name and namespace.
Assembly: System.Xaml (in System.Xaml.dll)
The XamlTypeName type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | Name | Gets the name used to construct this XamlTypeName. |
![]() | Namespace | Gets the XAML namespace identifier used to construct this XamlTypeName. |
![]() | TypeArguments | Gets the type arguments used to construct this XamlTypeName. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Parse | Provides a XamlTypeName value based on a type name and an object that can resolve a markup prefix into a namespace. |
![]() ![]() | ParseList | 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. |
![]() | ToString() | Converts the value of this XamlTypeName to its equivalent string representation. (Overrides Object::ToString().) |
![]() | ToString(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. |
![]() ![]() | ToString(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. |
![]() ![]() | TryParse | Provides a XamlTypeName value based on a type name and an object that can resolve a markup prefix into a namespace. |
![]() ![]() | TryParseList | 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
