XsdDataContractImporter::GetCodeTypeReference Method (XmlQualifiedName^)
.NET Framework (current version)
Returns a CodeTypeReference to the CLR type generated for the schema type with the specified XmlQualifiedName.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Parameters
- typeName
-
Type:
System.Xml::XmlQualifiedName^
The XmlQualifiedName that specifies the schema type to look up.
Return Value
Type: System.CodeDom::CodeTypeReference^A CodeTypeReference reference to the CLR type generated for the schema type with the typeName specified.
Use this method to look up the reference to a generated CLR type after calling the Import method. The CodeTypeReference contains the name of the generated type and can be used to look up the corresponding CodeTypeDeclaration in the CodeCompileUnit.
.NET Framework
Available since 3.0
Available since 3.0
Show: