SerializationExtensions.GetXmlTypeAttributeNameSpace Method

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

SerializationExtensions.GetXmlTypeAttributeNameSpace Method

BR.AN.PviServices .NET


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

[Visual Basic]

<Extension> _

Public Shared Sub GetXmlTypeAttributeNameSpace( _

  ByVal instance As Type _

)

[C#]

[Extension]

public static string GetXmlTypeAttributeNameSpace(

  this Type instance

);

Parameters

instance

Type from which to retrieve the xml type attribute information.

Return Value

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

See Also

SerializationExtensions Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]