Click or drag to resize

RpObjModelGetAttrId Method (String, Int32)

Gets an indexed attribute identifier in the dynamic representation object model.

Namespace:  RW.Server.Component
Assembly:  RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.0.0)
Syntax
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: Int32
The attribute identifier if the attribute exists and is indexed, -1 otherwise.
See Also