StringExtensionsConvertDirectoryToRemotePath Method |
Converts a local directory path to a UNC path.
Namespace:
Xcalibur.Extensions
Assembly:
Xcalibur.Extensions (in Xcalibur.Extensions.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax public static string ConvertDirectoryToRemotePath(
this string machinename,
string path
)
<ExtensionAttribute>
Public Shared Function ConvertDirectoryToRemotePath (
machinename As String,
path As String
) As String
public:
[ExtensionAttribute]
static String^ ConvertDirectoryToRemotePath(
String^ machinename,
String^ path
)
[<ExtensionAttribute>]
static member ConvertDirectoryToRemotePath :
machinename : string *
path : string -> string
Parameters
- machinename
- Type: SystemString
The machinename. - path
- Type: SystemString
The path.
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also