GetType Method
GetType(String, String)
Gets a type referenced in XAML.
Declaration
public Type GetType(string xmlNamespace, string localName)
Parameters
Type | Name | Description |
---|---|---|
System.String | xmlNamespace | The XML namespace to use to look up the type. This can be a registered namespace or a 'clr-namespace' value. |
System.String | localName | The local name of the type to find. |
Returns
Type | Description |
---|---|
System.Type | The requested type, or null if it could not be found. |