ISerializationSurrogateProvider2.GetReferencedTypeOnImport Método

Definición

Durante la importación del esquema, devuelve el tipo al que hace referencia el esquema.

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

Parámetros

typeName
String

Nombre del tipo en el esquema.

typeNamespace
String

Espacio de nombres del tipo en el esquema.

customData
Object

El objeto que representa la anotación insertada en la definición del esquema XML, que son datos que se pueden usar para buscar el tipo al que se hace referencia.

Devoluciones

Type que se va a usar para el tipo al que se hace referencia.

Se aplica a