Constructor SmartEnumeration
SmartEnumeration(SmartEnumerationType, Guid, int?, ElementId, ItemLabel)
Initializes a new instance of the SmartEnumeration class.
Declaration
public SmartEnumeration(SmartEnumerationType inType, Guid inEnumGuid, int? inValue, ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartEnumerationType | inType | Type of smart enumeration. |
| Guid | inEnumGuid | Enumeration GUID. |
| 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. |
SmartEnumeration(Guid, int)
Initializes a new instance of the SmartEnumeration class of type Basic.
Declaration
public SmartEnumeration(Guid inEnumGuid, int inValue)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | inEnumGuid | Enumeration GUID. |
| int | inValue | Value. |
SmartEnumeration(ElementId)
Initializes a new instance of the SmartEnumeration class of type Element.
Declaration
public SmartEnumeration(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
SmartEnumeration(ElementId, ItemLabel)
Initializes a new instance of the SmartEnumeration class of type Item.
Declaration
public SmartEnumeration(ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item. |