adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / JobVariableCollection Class / GetItem Method
The OID, name, or numeric index of the variable to retrieve


In This Topic
    GetItem Method (JobVariableCollection)
    In This Topic
    Gets the object with the specified OID or numeric index. Gets the member with the specified OID, name, or numeric index.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Overrides NotOverridable Function GetItem( _
       ByVal index As Object _
    ) As JobVariable
    [CanBeNull()]
    public override JobVariable GetItem( 
       object index
    )
    [CanBeNull()]
    public:
    JobVariable^ GetItem( 
       Object^ index
    ) override 

    Parameters

    index
    The OID, name, or numeric index of the variable to retrieve
    Exceptions
    ExceptionDescription
    Thrown if index is a numeric value that is outside the bounds of the collection.
    Thrown if index is not an integer, string, or OID.
    Remarks
    Returns null if no object with the requested OID is found.
    See Also