SerializationExtensions.GetXmlRootAttributeNameSpace Method

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

SerializationExtensions.GetXmlRootAttributeNameSpace Method

BR.AN.PviServices .NET


Gets the XML root attribute name space of instance type definition. Information is present as custom attribute in the type definition. eg [System.Xml.Serialization.XmlRootAttribute(Namespace = "somenamespace", IsNullable = false)]

[Visual Basic]

<Extension> _

Public Shared Sub GetXmlRootAttributeNameSpace( _

  ByVal instance As Type _

)

[C#]

[Extension]

public static string GetXmlRootAttributeNameSpace(

  this Type instance

);

Parameters

instance

Type from which to retrieve the xml root attribute information.

Return Value

Either the defined namespace or Null if the type does not have any xml root attribute information.

See Also

SerializationExtensions Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]