ASN1C C# Runtime Library
7.7
|
Public Member Functions | |
Asn1XerElemInfo (System.String[] names, bool optional, int id) | |
bool | Matches (System.String name) |
Properties | |
virtual int | ID [get] |
virtual bool | Optional [get] |
This class holds XER element information needed to assign an identifier to an element after it is parsed from an XML message.
Asn1XerElemInfo | ( | System.String [] | names, |
bool | optional, | ||
int | id | ||
) |
This constructor creates the element object.
names | first element names |
optional | true if component having given names is optional |
id | identifier |
bool Matches | ( | System.String | name | ) |
Determines whether this object matches the given element name.
name | The element name to check for a match. |
true
if the given element name matches any of the names associated with this object; otherwise, false
.
|
get |
Returns the ID value for the element.
Value:
Identifier value
|
get |
Determines whether the this element is optional
Value:
true
is optional; otherwise false