GetProperties Method
Gets the values for a set of properties and a set of entities.
Required Permissions
ManagePropertyDefinition or [EntityClassId]ReadSyntax
public PropInst[] GetProperties(
System.string entityClassId,
System.long[] entityIds,
System.long[] propertyDefIds
)Public Function GetProperties( _
ByVal entityClassId As System.String, _
ByVal entityIds() As System.Long, _
ByVal propertyDefIds() As System.Long _
) As PropInst()Parameters
| Name | Description |
|---|---|
| entityClassId | The associated entity class. |
| entityIds | An array of entity IDs. |
| propertyDefIds | An array of property definition IDs. |
Return Value
A list of all matching properties. The maximum size of the return array is equal to the size of the EntityIds multiplied by the size of propertyDefIDs. The return array can be smaller if entities do not have some of the properties specified. Null will be returned if none of the entities have any of the properties specified.