XsdDataContractExporter::GetRootElementName Method (Type^)
.NET Framework (current version)
Returns the top-level name and namespace for the Type.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
Parameters
- type
-
Type:
System::Type^
The Type to query.
Return Value
Type: System.Xml::XmlQualifiedName^The XmlQualifiedName that represents the top-level name and namespace for this Type, which is written to the stream when writing this object.
| Exception | Condition |
|---|---|
| ArgumentNullException | The type argument is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: