| RpObjModelGetAttrId Method (String, Int32) |
Gets an indexed attribute identifier in the dynamic
representation object model.
Namespace: RW.Server.ComponentAssembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax public int GetAttrId(
string name,
int index
)
Public Function GetAttrId (
name As String,
index As Integer
) As Integer
public:
int GetAttrId(
String^ name,
int index
)
Parameters
- name
- Type: SystemString
The name of an attribute. - index
- Type: SystemInt32
The index of an attribute.
Return Value
Type:
Int32The attribute identifier if the attribute exists and
is indexed,
-1 otherwise.
See Also