![](../icons/Help.png) | CEMAPTEMPLATEiGetItemSelection Method (String) |
Gets info about the current selected item
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
NotesIf nothing is selected the string will be empty and the function will return False
Syntaxpublic int iGetItemSelection(
ref string item
)
Public Function iGetItemSelection (
ByRef item As String
) As Integer
public:
int iGetItemSelection(
String^% item
)
member iGetItemSelection :
item : string byref -> int
Parameters
- item
- Type: SystemString
returned item name
Return Value
Type:
Int32Returns True if the item is a view
See Also