XsdDataContractExporter.GetSchemaTypeName(Type) 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.
Returns the contract name and contract namespace for the Type.
public:
System::Xml::XmlQualifiedName ^ GetSchemaTypeName(Type ^ type);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed.")]
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
public System.Xml.XmlQualifiedName GetSchemaTypeName(Type type);
public System.Xml.XmlQualifiedName GetSchemaTypeName(Type type);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")]
public System.Xml.XmlQualifiedName GetSchemaTypeName(Type type);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed.")>]
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")>]
member this.GetSchemaTypeName : Type -> System.Xml.XmlQualifiedName
member this.GetSchemaTypeName : Type -> System.Xml.XmlQualifiedName
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Data Contract Serialization and Deserialization might require types that cannot be statically analyzed. Make sure all of the required types are preserved.")>]
member this.GetSchemaTypeName : Type -> System.Xml.XmlQualifiedName
Public Function GetSchemaTypeName (type As Type) As XmlQualifiedName
Parameters
Returns
An XmlQualifiedName that represents the contract name of the type and its namespace.
- Attributes
Exceptions
The type argument is null.