| RpObjectGetAttributeId Method (String, Int32) |
Gets the attribute identifier corresponding to an indexed
attribute label.
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax public virtual int GetAttributeId(
string attrId,
int index
)
Public Overridable Function GetAttributeId (
attrId As String,
index As Integer
) As Integer
public:
virtual int GetAttributeId(
String^ attrId,
int index
)
Parameters
- attrId
- Type: SystemString
The attribute identifier. - index
- Type: SystemInt32
The attribute index.
Return Value
Type:
Int32The attribute identifier, or
0 if not
found.
Remarks This identifier reflects the order in which the
attributes appear in the view specification (starting from
1).
See Also