ISerializationSurrogateProvider2.GetReferencedTypeOnImport Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.