Method SegmentFileName
SegmentFileName(String, String, String)
Returns a file name that includes the given segment name, your own custom name and extension. The format of the filename is: <segmentName>(_<name>)(.<ext>).
NOTE: .<ext> is added to the result file name only if
ext
is not empty.
NOTE: _<segmentSuffix> is added to the result file name only if it's not the empty string
NOTE: all custom files should be named using this method, or otherwise some structures may fail to handle them properly (such as if they are added to compound files).
Declaration
public static string SegmentFileName(string segmentName, string segmentSuffix, string ext)
Parameters
Type | Name | Description |
---|---|---|
System.String | segmentName | |
System.String | segmentSuffix | |
System.String | ext |
Returns
Type | Description |
---|---|
System.String |