![](../icons/Help.png) | CPROJICurrentDocumentOfType Method (CGXNETCore, String, Int32, String) |
Get the name of a loaded document of a specific type.
Available since Oasis montaj version: 9.2
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static void ICurrentDocumentOfType(
CGXNETCore gxNetShared,
ref string name,
int size_name,
string type
)
Public Shared Sub ICurrentDocumentOfType (
gxNetShared As CGXNETCore,
ByRef name As String,
size_name As Integer,
type As String
)
public:
static void ICurrentDocumentOfType(
CGXNETCore^ gxNetShared,
String^% name,
int size_name,
String^ type
)
static member ICurrentDocumentOfType :
gxNetShared : CGXNETCore *
name : string byref *
size_name : int *
type : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - name
- Type: SystemString
Name (empty if none currently loaded) - size_name
- Type: SystemInt32
Maximum name length - type
- Type: SystemString
Type
See Also