Class ArrayAPI
Last update: 16.07.2025Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for array.
public static class ArrayAPI
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
CreateArray(SubSystemDocument, ExpressionValueVariable, string, SymmetricType, bool)
Create
[NotNull(new string[] { "document" })]
[GreaterThanZero(new string[] { "size" })]
public static Obj CreateArray(this SubSystemDocument document, ExpressionValueVariable size, string name = "", SymmetricType symmetricType = SymmetricType.None, bool isInterface = false)
Parameters
document SubSystemDocument
The document to create the array.
size ExpressionValueVariable
The number of array size.
name string
The name of array.
symmetricType SymmetricType
The symmetric type of the new
isInterface bool
The flag of interface.
Returns
The new
Exceptions
Will be thrown if 'document' is null.
Will be thrown if 'size' values less than 0.