XsdDataContractExporter.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.")]
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

パラメーター

type
Type

クエリを実行する Type

返品

このXmlQualifiedNameの最上位レベルの名前と名前空間を表すType。このオブジェクトの書き込み時にストリームに書き込まれます。

属性

例外

type引数はnull

適用対象