Sdílet prostřednictvím


ISerializationSurrogateProvider2.GetReferencedTypeOnImport Metoda

Definice

Během importu schématu vrátí typ, na který schéma odkazuje.

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

Parametry

typeName
String

Název typu ve schématu.

typeNamespace
String

Obor názvů typu ve schématu.

customData
Object

Objekt, který představuje poznámku vloženou do definice schématu XML, což jsou data, která lze použít k vyhledání odkazovaného typu.

Návraty

Použije Type se pro odkazovaný typ.

Platí pro