IXamlTypeResolver.Resolve(String) 方法

定义

将已命名的 XAML 类型解析为相应的 CLR TypeResolves a named XAML type to the corresponding CLR Type.

public:
 Type ^ Resolve(System::String ^ qualifiedTypeName);
public Type Resolve (string qualifiedTypeName);
abstract member Resolve : string -> Type
Public Function Resolve (qualifiedTypeName As String) As Type

参数

qualifiedTypeName
String

要解析的 XAML 类型名称。The XAML type name to resolve. 该类型名称可以由 XML 命名空间的前缀限定。The type name is optionally qualified by the prefix for a XML namespace. 否则将采用当前默认的 XML 命名空间。Otherwise the current default XML namespace is assumed.

返回

qualifiedTypeName 要解析为的 TypeThe Type that qualifiedTypeName resolves to

适用于