Επεξεργασία

Κοινή χρήση μέσω


ISerializationSurrogateProvider2.GetReferencedTypeOnImport Method

Definition

During schema import, returns the type referenced by the 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

Parameters

typeName
String

The name of the type in the schema.

typeNamespace
String

The namespace of the type in the schema.

customData
Object

The object that represents the annotation inserted into the XML schema definition, which is data that can be used for finding the referenced type.

Returns

The Type to use for the referenced type.

Applies to