Constructor SmartUserEnumeration
SmartUserEnumeration(SmartUserEnumerationType, DocumentId, int?, ElementId, ItemLabel)
Initializes a new instance of the SmartUserEnumeration class.
Declaration
public SmartUserEnumeration(SmartUserEnumerationType inType, DocumentId inEnumId, int? inValue, ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartUserEnumerationType | inType | Type of smart enumeration. |
| DocumentId | inEnumId | Enumeration definition document identifier. |
| int? | inValue | Value, or null if unknown. |
| ElementId | inElementId | Identifier of providing element, or Empty for none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
SmartUserEnumeration(DocumentId, int)
Initializes a new instance of the SmartUserEnumeration class of type Basic.
Declaration
public SmartUserEnumeration(DocumentId inEnumId, int inValue)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inEnumId | Enumeration definition document identifier. |
| int | inValue | Value. |
SmartUserEnumeration(ElementId)
Initializes a new instance of the SmartUserEnumeration class of type Element.
Declaration
public SmartUserEnumeration(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
SmartUserEnumeration(ElementId, ItemLabel)
Initializes a new instance of the SmartUserEnumeration class of type Item.
Declaration
public SmartUserEnumeration(ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item. |