Altova MapForce 2024 Enterprise Edition

When code is generated from an XML schema, a class is created for each member attribute of a type. In the descriptions below, "AttributeType" stands for the type of the member attribute itself.

 

Methods


Name

Description

ic_method

bool Exists()

Returns true if the attribute exists.

ic_method

void Remove()

Removes the attribute from its parent element.

 

Properties


Name

Description

ic_property

int EnumerationValue

Generated for enumeration types only. Sets or gets the attribute value using one of the constants generated for the possible values. Returns Invalid if the value does not match any of the enumerated values in the schema.

ic_property

Altova.Xml.Meta.Attribute Info

Returns an object for querying schema information (see Altova.Xml.Meta.Attribute ).

ic_property

AttributeType Value

Sets or gets the attribute value.

© 2018-2024 Altova GmbH