UserDataMap.GetItemSize2 operator

Introduced

v6.0

Description

Returns the size (in bytes) of the data attached to a particular component of the user data map.

This is equivalent to retrieving a UserDataItem with UserDataMap.GetItem2 and then using the UserDataItem.Size property.

Note: This is the Python-compliant version of the UserDataMap.ItemSize. Since Python does not support input parameters on properties, UserDataMap.ItemSize will fail in Python.

C# Syntax

Int32 UserDataMap.GetItemSize2( Int32 in_ulIndex );

Scripting Syntax

oLong = UserDataMap.GetItemSize2( Index );

Return Value

Long

Parameters

Parameter Type Description
Index Long Index of the component within the cluster.

See Also

UserDataItem.Value UserDataItem.Size