Visual Basic (Usage) | ![]() |
---|---|
Dim instance As RelativePathFormatter Dim format As String Dim formatProvider As IFormatProvider Dim value As String value = instance.ToString(format, formatProvider) |
C# | |
---|---|
public string ToString( string format, IFormatProvider formatProvider ) |
Parameters
- format
- (Unused) Always pass null
- formatProvider
- (Unused) Always pass null
Exception | Description |
---|---|
System.FormatException | Thrown if non-null parameters are passed |
Formats the relative path as a string.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x