語言

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用於參考的類型。

適用於