Codeunit "Temp Blob List"
The interface for storing sequences of variables, each of which stores BLOB data.
Properties
| Name | Value |
|---|---|
| Access | Public |
| InherentEntitlements | X |
| InherentPermissions | X |
Methods
Exists
Check if an element with the given index exists.
procedure Exists(Index: Integer): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| Index | Integer |
The index of the TempBlob in the list. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if an element at the given index exists. |
Count
Returns the number of elements in the list.
procedure Count(): Integer
Returns
| Type | Description |
|---|---|
| Integer |
The number of elements in the list. |
Get
Get an element from the list at any given position.
procedure Get(Index: Integer, var TempBlob: Codeunit "Temp Blob")
Parameters
| Name | Type | Description |
|---|---|---|
| Index | Integer |
The index of the TempBlob in the list. |
| TempBlob | Codeunit System.Utilities."Temp Blob" |
The TempBlob to return. |
Set
Set an element at the given index from the parameter TempBlob.
procedure Set(Index: Integer, TempBlob: Codeunit "Temp Blob"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| Index | Integer |
The index of the TempBlob in the list. |
| TempBlob | Codeunit System.Utilities."Temp Blob" |
The TempBlob to set. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if successful. |
RemoveAt
Remove the element at a specified location from a non-empty list.
procedure RemoveAt(Index: Integer): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| Index | Integer |
The index of the TempBlob in the list. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if successful. |
RemoveRange
Remove a number of elements starting from a specified location from a non-empty list.
procedure RemoveRange(Index: Integer, ElementCount: Integer): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| Index | Integer |
The index of the first element to be deleted. |
| ElementCount | Integer |
The number of elements to be deleted. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if successful. |
IsEmpty
Return true if the list is empty, otherwise return false.
procedure IsEmpty(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
True if the list is empty. |
Add
Adds a TempBlob to the end of the list.
procedure Add(TempBlob: Codeunit "Temp Blob"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| TempBlob | Codeunit System.Utilities."Temp Blob" |
The TempBlob to add. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if successful. |
AddRange
Adds the elements of the specified TempBlobList to the end of the current TempBlobList object.
procedure AddRange(TempBlobList: Codeunit "Temp Blob List"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| TempBlobList | Codeunit System.Utilities."Temp Blob List" |
The TempBlob list to add. |
Returns
| Type | Description |
|---|---|
| Boolean |
True if successful. |
GetRange
Get a copy of a range of elements in the list starting from index,
procedure GetRange(Index: Integer, ElemCount: Integer, var TempBlobListOut: Codeunit "Temp Blob List")
Parameters
| Name | Type | Description |
|---|---|---|
| Index | Integer |
The index of the first object. |
| ElemCount | Integer |
The number of objects to be returned. |
| TempBlobListOut | Codeunit System.Utilities."Temp Blob List" |
The TempBlobList to be returned passed as a VAR. |