Share via


EnvironmentUtility.ToPathString Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Platform
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim value As IEnumerable(Of String)
Dim returnValue As String

returnValue = EnvironmentUtility.ToPathString(value)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ToPathString ( _
    value As IEnumerable(Of String) _
) As String
[ExtensionAttribute] 
public static string ToPathString (
    IEnumerable<string> value
)
[ExtensionAttribute] 
public:
static String^ ToPathString (
    IEnumerable<String^>^ value
)
/** @attribute ExtensionAttribute() */ 
public static String ToPathString (
    IEnumerable<String> value
)
ExtensionAttribute 
public static function ToPathString (
    value : IEnumerable<String>
) : String

Parameters

  • value

Return Value

Returns String.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

EnvironmentUtility Class
EnvironmentUtility Members
Microsoft.OneGet.Utility.Platform Namespace