[This is preliminary documentation and is subject to change.]
Breaks the file part in name, version and extension. he version name is designated as
{filename}_rev{revision number}.{extension}. For example the file xxx.doc can have versions like xxx_rev1.doc,
xxx_rev2.doc and so on.
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static void BreakUpFileParts( string fullName, ref string fileName, ref int revision, ref string extension ) |
Visual Basic (Declaration) |
---|
Public Shared Sub BreakUpFileParts ( _ fullName As String, _ ByRef fileName As String, _ ByRef revision As Integer, _ ByRef extension As String _ ) |
Visual C++ |
---|
public: static void BreakUpFileParts( String^ fullName, String^% fileName, int% revision, String^% extension ) |
Parameters
- fullName
- Type: System..::.String
The full file name with revision and extension
- fileName
- Type: System..::.String%
The file part of the name
- revision
- Type: System..::.Int32%
Only the revision, returns -1 if no revision is found
- extension
- Type: System..::.String%
Only the extension