XsdDataContractExporter::GetSchemaTypeName Method (Type^)

 

Returns the contract name and contract namespace for the Type.

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public:
XmlQualifiedName^ GetSchemaTypeName(
	Type^ type
)

Parameters

type
Type: System::Type^

The Type that was exported.

Return Value

Type: System.Xml::XmlQualifiedName^

An XmlQualifiedName that represents the contract name of the type and its namespace.

Exception Condition
ArgumentNullException

The type argument is null.

.NET Framework
Available since 3.0
Return to top
Show: