Note: This API is now obsolete.
Forces this field to have exactly num values, inserting or deleting values as necessary.
Namespace: OIV.Inventor.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("Obsolete since OpenInventor 9.3.0.0. Use Count property instead.")]
public void SetNum(
int num
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("Obsolete since OpenInventor 9.3.0.0. Use Count property instead.")>
Public Sub SetNum (
num As Integer
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"Obsolete since OpenInventor 9.3.0.0. Use Count property instead.")]
void SetNum(
int num
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("Obsolete since OpenInventor 9.3.0.0. Use Count property instead.")>]
member SetNum :
num : int -> unit
Parameters
- num
- Type: SystemInt32
Remarks If field's values are stored in an user data array and if specified number of values is different from this array's length, a new array is allocated and the user's one is no more used.
See Also