 | CSTRIFileExt Method (String, String, String, Int32, Int32) |
Add a file extension onto a file name string.
Namespace:
GeoEngine.Core.GXNet
Assembly:
geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void IFileExt(
string ifile,
string ext,
ref string ofile,
int opt,
int size
)
public static void IFileExt(
string ifile,
string ext,
ref string ofile,
int opt,
int size
)
Public Shared Sub IFileExt (
ifile As String,
ext As String,
ByRef ofile As String,
opt As Integer,
size As Integer
)
Public Shared Sub IFileExt (
ifile As String,
ext As String,
ByRef ofile As String,
opt As Integer,
size As Integer
)
public:
static void IFileExt(
String^ ifile,
String^ ext,
String^% ofile,
int opt,
int size
)
public:
static void IFileExt(
String^ ifile,
String^ ext,
String^% ofile,
int opt,
int size
)
static member IFileExt :
ifile : string *
ext : string *
ofile : string byref *
opt : int *
size : int -> unit
static member IFileExt :
ifile : string *
ext : string *
ofile : string byref *
opt : int *
size : int -> unit
Parameters
- ifile
- Type: SystemString
File name to extend - ext
- Type: SystemString
Extension if "", extenstion and '.' are stripped. - ofile
- Type: SystemString
Extended file name (can be same as input) - opt
- Type: SystemInt32
<define>FILE_EXT</define> - size
- Type: SystemInt32
Length of buffer
See Also