XsdDataContractExporter.GetRootElementName(Type) Methode

Definitie

Retourneert de naam en naamruimte op het hoogste niveau voor de Type.

public:
 System::Xml::XmlQualifiedName ^ GetRootElementName(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? GetRootElementName(Type type);
public System.Xml.XmlQualifiedName? GetRootElementName(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? GetRootElementName(Type type);
public System.Xml.XmlQualifiedName GetRootElementName(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.GetRootElementName : Type -> System.Xml.XmlQualifiedName
member this.GetRootElementName : 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.GetRootElementName : Type -> System.Xml.XmlQualifiedName
Public Function GetRootElementName (type As Type) As XmlQualifiedName

Parameters

type
Type

De Type te doorzoeken query.

Retouren

De XmlQualifiedName naam en naamruimte op het hoogste niveau voor deze Typenaamruimte, die naar de stream wordt geschreven bij het schrijven van dit object.

Kenmerken

Uitzonderingen

Het type argument is null.

Van toepassing op