ISerializationSurrogateProvider2.GetReferencedTypeOnImport Method
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
- 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.
The Type to use for the referenced type.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: