STK UI PluginsSend comments on this topic.
GetPositionOf Method (IAgUiPluginMenuBuilder)
See Also
Windows





Windows & Linux

Description

Returns a position of the specified menu item or -1 if the specified menu item was not found.

Syntax

[Visual Basic .NET]
Public Function GetPositionOf( _
    ByVal MenuItemTitle As String _
) As Integer
[C#]
public int GetPositionOf(
    string MenuItemTitle
);
[Managed C++]
public: int GetPositionOf(
    String __gc ^ MenuItemTitle
);
[Unmanaged C++]
public: HRESULT GetPositionOf(
    BSTR MenuItemTitle,
    long * pRetVal
);
[Java]
public int getPositionOf(
    String MenuItemTitle
);

Parameters

MenuItemTitle

See Also

© 2025 Analytical Graphics, Inc. All Rights Reserved.