STK ObjectsSend comments on this topic.
Item Property (IAgStkObjectElementCollection)
See Also
IndexOrName
Windows





Windows & Linux

Description

Given an index, returns an element in the collection. If the index is an integer, then the method returns the element in the collection at the given position. If the index is a string, then the method returns the element with the specified name.

Property type

Read-only property

Syntax

[Visual Basic .NET]
Public Property Item( _
    ByVal IndexOrName As System.Object _
) As IAgStkObject
[C#]
public IAgStkObject this[
    System.Object IndexOrName
] {get;}
[Managed C++]
public: __property IAgStkObject^ get_Item(
    VARIANT IndexOrName
);
[Unmanaged C++]
public: HRESULT get_Item(
    VARIANT IndexOrName,
    IAgStkObject* ppRetVal
);
[Java]
public IAgStkObject getItem(
    AgVariant IndexOrName
);
[Python - STK API ]
@property
def Item(self) -> "IAgStkObject":

Parameters

IndexOrName

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.