Class ModelItemHelper
Helper methods for ICamApiModelItem
Inherited Members
Namespace: CAMAPI.DotnetHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class ModelItemHelper
Methods
Caption(ComWrapper<ICamApiModelItem>)
Declaration
public static string Caption(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
Returns
| Type | Description |
|---|---|
| string |
Clear(ComWrapper<ICamApiModelItem>)
Declaration
public static void Clear(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
ID(ComWrapper<ICamApiModelItem>)
Declaration
public static string ID(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
Returns
| Type | Description |
|---|---|
| string |
IsEmpty(ComWrapper<ICamApiModelItem>)
Declaration
public static bool IsEmpty(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
Returns
| Type | Description |
|---|---|
| bool |
IsRemovable(ComWrapper<ICamApiModelItem>)
Declaration
public static bool IsRemovable(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
Returns
| Type | Description |
|---|---|
| bool |
IsVisible(ComWrapper<ICamApiModelItem>)
Declaration
public static bool IsVisible(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
Returns
| Type | Description |
|---|---|
| bool |
ItemGUID(ComWrapper<ICamApiModelItem>)
Declaration
public static Guid ItemGUID(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
Returns
| Type | Description |
|---|---|
| Guid |
ItemType(ComWrapper<ICamApiModelItem>)
Declaration
public static TModelItemType ItemType(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
Returns
| Type | Description |
|---|---|
| TModelItemType |
SetCaption(ComWrapper<ICamApiModelItem>, string)
Declaration
public static void SetCaption(this ComWrapper<ICamApiModelItem> itemCom, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom | |
| string | value |
SetID(ComWrapper<ICamApiModelItem>, string)
Declaration
public static void SetID(this ComWrapper<ICamApiModelItem> itemCom, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom | |
| string | value |
SetIsEmpty(ComWrapper<ICamApiModelItem>, bool)
Declaration
public static void SetIsEmpty(this ComWrapper<ICamApiModelItem> itemCom, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom | |
| bool | value |
SetIsRemovable(ComWrapper<ICamApiModelItem>, bool)
Declaration
public static void SetIsRemovable(this ComWrapper<ICamApiModelItem> itemCom, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom | |
| bool | value |
SetIsVisible(ComWrapper<ICamApiModelItem>, bool)
Declaration
public static void SetIsVisible(this ComWrapper<ICamApiModelItem> itemCom, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom | |
| bool | value |
XmlID(ComWrapper<ICamApiModelItem>)
Declaration
public static Guid XmlID(this ComWrapper<ICamApiModelItem> itemCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiModelItem> | itemCom |
Returns
| Type | Description |
|---|---|
| Guid |