ISerializationSurrogateProvider2.GetReferencedTypeOnImport 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在結構匯入過程中,回傳結構所參考的型別。
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用於參考的類型。