XsdDataContractExporter.GetSchemaTypeName(Type) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Returnerar kontraktsnamnet och kontraktnamnområdet för 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
Parametrar
Returer
En XmlQualifiedName som representerar kontraktnamnet för typen och dess namnområde.
- Attribut
Undantag
Argumentet type är null.