ISerializationSurrogateProvider2.GetReferencedTypeOnImport Metodo

Definizione

Durante l'importazione dello schema, restituisce il tipo a cui fa riferimento lo schema.

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

Parametri

typeName
String

Nome del tipo nello schema.

typeNamespace
String

Spazio dei nomi del tipo nello schema.

customData
Object

Oggetto che rappresenta l'annotazione inserita nella definizione di XML Schema, ovvero dati che possono essere utilizzati per trovare il tipo a cui si fa riferimento.

Valori restituiti

Oggetto Type da utilizzare per il tipo a cui si fa riferimento.

Si applica a