SiteVolumeBinFolder¶
Type ISIAPISiteVolumeBinFolder · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID 0781C83D-1FBD-4E54-B026-2D0B1C2A6255
SiteVolumeBinFolder wrapper interface
Declaration¶
Members¶
Properties
| Property | Type | Summary |
|---|---|---|
| Name | string |
Site Volume Bin Folder Name |
| Position | int |
This SiteVolumeBinFolder object's Position in the collection. It is a zero-base integer. |
| SiteVolumeBins | ISIAPISiteVolumeBins |
Collection of SiteVolumeBins in this Folder |
| Project | ISIAPIProject |
|
| IsExpanded | bool |
Flag indicating whether this folder is expanded. |
Methods
| Method | Returns | Summary |
|---|---|---|
| AddSiteVolumeBin(int) | ISIAPISiteVolumeBin |
Create a new SiteVolumeBin by using a Standard Software Setup and add it into this Folder. |
| AddSiteVolumeBin(string) | ISIAPISiteVolumeBin |
Create a new SiteVolumeBin and add it into this Folder. The SiteVolumeBin is created by using a User Software Setup or a Standard Software Setup. The Software Setup is identified by the string parameter softwareSetupSignature. |
| RemoveSiteVolumeBin(ISIAPISiteVolumeBin) | bool |
Remove a SiteVolumeBin from this Folder. |
| CloneSiteVolumeBin(ISIAPISiteVolumeBin) | ISIAPISiteVolumeBin |
Clone a SiteVolumeBin. |
| MoveSiteVolumeBinTo(ISIAPISiteVolumeBin, int) | bool |
Move a SiteVolumeBin to a new position in the same Folder. |
| MoveSiteVolumeBinToFolder(ISIAPISiteVolumeBin, ISIAPISiteVolumeBinFolder) | bool |
Move a SiteVolumeBin from this Site Volume Bin Folder to another Site Volume Bin Folder in this Project. |
Properties¶
Name¶
Site Volume Bin Folder Name
Type string
Value
The Site Volume Bin Folder's name, max length = 100.
Code samples
Position¶
This SiteVolumeBinFolder object's Position in the collection. It is a zero-base integer.
Type int
Code samples
SiteVolumeBins¶
Collection of SiteVolumeBins in this Folder
Type ISIAPISiteVolumeBins
Value
SiteVolumeBins collection
Code samples
Project¶
Type ISIAPIProject
Code samples
IsExpanded¶
Flag indicating whether this folder is expanded.
Type bool
Code samples
Methods¶
AddSiteVolumeBin(int)¶
Create a new SiteVolumeBin by using a Standard Software Setup and add it into this Folder.
Parameters
| Name | Type | Description |
|---|---|---|
softwareSetup |
int |
One of: - Standard Software Setup that is used to create the Volume Bin - 1 - Standard Left - 2 - New Zealand - 3 - New South Wales - 4 - Standard Right - 5 - US HCM (Metric) - 6 - US HCM (Customary) |
Returns ISIAPISiteVolumeBin - The new added SiteVolumeBin.
Code samples
AddSiteVolumeBin(string)¶
Create a new SiteVolumeBin and add it into this Folder.
The SiteVolumeBin is created by using a User Software Setup or a Standard Software Setup. The Software Setup is identified by the string parameter softwareSetupSignature.
Parameters
| Name | Type | Description |
|---|---|---|
softwareSetupSignature |
string |
The signature string of a User Software Setup or a Standard Software Setup. |
Returns ISIAPISiteVolumeBin - The new added SiteVolumeBin.
Code samples
RemoveSiteVolumeBin(ISIAPISiteVolumeBin)¶
Remove a SiteVolumeBin from this Folder.
Parameters
| Name | Type | Description |
|---|---|---|
siteVolumeBin |
ISIAPISiteVolumeBin |
The SiteVolumeBin to remove. |
Returns bool - true if the SiteVolumeBin is successfully removed; otherwise, false. This method also returns false if the SiteVolumeBin does not exist in this Folder.
Remarks
The SiteVolumeBin cannot be used in any Site.
Code samples
CloneSiteVolumeBin(ISIAPISiteVolumeBin)¶
Clone a SiteVolumeBin.
Parameters
| Name | Type | Description |
|---|---|---|
siteVolumeBin |
ISIAPISiteVolumeBin |
The SiteVolumeBin to be cloned. |
Returns ISIAPISiteVolumeBin - The new cloned SiteVolumeBin.
Code samples
MoveSiteVolumeBinTo(ISIAPISiteVolumeBin, int)¶
Move a SiteVolumeBin to a new position in the same Folder.
Parameters
| Name | Type | Description |
|---|---|---|
siteVolumeBin |
ISIAPISiteVolumeBin |
The SiteVolumeBin to move. |
newPosition |
int |
The zero-based position that the SiteVolumeBin should be moved to. |
Returns bool - true if the SiteVolumeBin is successfully moved; otherwise, false. This method also returns false if the SiteVolumeBin does not exist in this Folder.
Code samples
MoveSiteVolumeBinToFolder(ISIAPISiteVolumeBin, ISIAPISiteVolumeBinFolder)¶
Move a SiteVolumeBin from this Site Volume Bin Folder to another Site Volume Bin Folder in this Project.
bool MoveSiteVolumeBinToFolder(ISIAPISiteVolumeBin siteVolumeBin, ISIAPISiteVolumeBinFolder destFolder)
Parameters
| Name | Type | Description |
|---|---|---|
siteVolumeBin |
ISIAPISiteVolumeBin |
The SiteVolumeBin to move. |
destFolder |
ISIAPISiteVolumeBinFolder |
The destination Site Volume Bin Folder |
Returns bool - true if the SiteVolumeBin is successfully moved; otherwise, false. This method also returns false if the SiteVolumeBin does not exist in this Folder before moving it.