Method CopyFullPath
CopyFullPath(Char[], Int32, Char)
Copies the path components to the given char[], starting at index
start
. delimiter
is copied between the path components.
Returns the number of chars copied.
NOTE: this method relies on the array being large enough to hold the components and separators - the amount of needed space can be calculated with FullPathLength().
Declaration
public virtual int CopyFullPath(char[] buf, int start, char delimiter)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | buf | |
System.Int32 | start | |
System.Char | delimiter |
Returns
Type | Description |
---|---|
System.Int32 |