Search Results for

    Show / Hide Table of Contents

    Class SmartUserEnumeration

    Represents a smart user enumeration value.

    Inheritance
    System.Object
    SmartObject
    SmartUserEnumeration
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: TopSolid.Kernel.Automating
    Assembly: cs.temp.dll.dll
    Syntax
    [AvailableSinceVersion(7, 8, 0, 0)]
    public class SmartUserEnumeration : SmartObject
    Remarks

    This class is available since v7.8.

    Constructors

    SmartUserEnumeration(DocumentId, Int32)

    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.

    System.Int32 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.

    SmartUserEnumeration(SmartUserEnumerationType, DocumentId, Nullable<Int32>, 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.

    System.Nullable<System.Int32> 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.

    Fields

    ElementId

    Providing element identifier, or empty if none.

    Declaration
    public ElementId ElementId
    Field Value
    Type Description
    ElementId

    EnumId

    Enumeration definition document identifier.

    Declaration
    public DocumentId EnumId
    Field Value
    Type Description
    DocumentId

    ItemLabel

    Providing element item label, or empty if none.

    Declaration
    public ItemLabel ItemLabel
    Field Value
    Type Description
    ItemLabel

    Type

    Type of smart user enumeration.

    Declaration
    public SmartUserEnumerationType Type
    Field Value
    Type Description
    SmartUserEnumerationType

    Value

    Value, or null if unknown.

    Declaration
    public int? Value
    Field Value
    Type Description
    System.Nullable<System.Int32>
    In This Article
    • Mentions légales
    • C.G.U
    • Données personnelles

    Copyright © 2024 TopSolid Tous droits réservés