STK ObjectsSend comments on this topic.
Contains Method (IAgStkObjectCollection)
See Also
EClassType
InstName
Windows





Windows & Linux

Description

Checks whether the collection contains an object with the given type and name.

Syntax

[Visual Basic .NET]
Public Function Contains( _
    ByVal EClassType As AgESTKObjectType, _
    ByVal InstName As String _
) As Boolean
[C#]
public bool Contains(
    AgESTKObjectType EClassType,
    string InstName
);
[Managed C++]
public: bool Contains(
    AgESTKObjectType EClassType,
    String __gc ^ InstName
);
[Unmanaged C++]
public: HRESULT Contains(
    AgESTKObjectType EClassType,
    BSTR InstName,
    VARIANT_BOOL * pRetVal
);
[Java]
public bool contains(
    AgESTKObjectType EClassType,
    String InstName
);
[Python - STK API ]
def Contains(self, EClassType:"AgESTKObjectType", InstName:str) -> bool:

Parameters

EClassType
InstName

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.