语言

ISerializationSurrogateProvider2.GetReferencedTypeOnImport 方法

定义

在架构导入期间,返回架构引用的类型。

public:
 Type ^ GetReferencedTypeOnImport(System::String ^ typeName, System::String ^ typeNamespace, System::Object ^ customData);
public Type? GetReferencedTypeOnImport(string typeName, string typeNamespace, object? customData);
abstract member GetReferencedTypeOnImport : string * string * obj -> Type
Public Function GetReferencedTypeOnImport (typeName As String, typeNamespace As String, customData As Object) As Type

参数

typeName
String

架构中类型的名称。

typeNamespace
String

架构中类型的命名空间。

customData
Object

表示插入 XML 架构定义的批注的对象,该定义是可用于查找引用类型的数据。

返回

Type要用于引用的类型。

适用于