![](../icons/Help.png) | CDOCUSetFileMeta Method |
Set the document from a file source with metadata.
Available since Oasis montaj version: 5.1.8
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
See SetFile_DOCU.
This function is the same as sSetFile_DOCU, plus insures that a
META exists that includes the "Data" class. If the file has
associated metadata, either supported natively in the file, or
through an associated file "filename.extension.GeosoftMeta",
that metadata will be loaded into the DOCU meta, and a Data
class will be constructed if one does not exist.
Also, the Document type Extension is very important in that it
specifies the document types that natively have metadata. The
ones currently supported are:
"map" Geosoft map file
"gdb" Geosoft database
"grd" Geosoft grid file
Syntaxpublic void SetFileMeta(
string type,
string name,
string file
)
Public Sub SetFileMeta (
type As String,
name As String,
file As String
)
public:
void SetFileMeta(
String^ type,
String^ name,
String^ file
)
member SetFileMeta :
type : string *
name : string *
file : string -> unit
Parameters
- type
- Type: SystemString
Document type extension - name
- Type: SystemString
Document name, if NULL use file name - file
- Type: SystemString
Document file or URL
See Also