EnvironmentUtility.RemoveMissingFolders 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 searchPath As String()
Dim returnValue As String()

returnValue = EnvironmentUtility.RemoveMissingFolders(searchPath)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function RemoveMissingFolders ( _
    searchPath As String() _
) As String()
[ExtensionAttribute] 
public static string[] RemoveMissingFolders (
    string[] searchPath
)
[ExtensionAttribute] 
public:
static array<String^>^ RemoveMissingFolders (
    array<String^>^ searchPath
)
/** @attribute ExtensionAttribute() */ 
public static String[] RemoveMissingFolders (
    String[] searchPath
)
ExtensionAttribute 
public static function RemoveMissingFolders (
    searchPath : String[]
) : String[]

Parameters

  • searchPath

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