Request.GetKnownFolder Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.PackageProvider.Bootstrap
Assembly: Microsoft.OneGet.PackageProvider.Bootstrap (in Microsoft.OneGet.PackageProvider.Bootstrap.dll)


Dim instance As Request
Dim knownFolder As String
Dim requestImpl As Object
Dim returnValue As String

returnValue = instance.GetKnownFolder(knownFolder, requestImpl)


Public MustOverride Function GetKnownFolder ( _
    knownFolder As String, _
    requestImpl As Object _
) As String
public abstract string GetKnownFolder (
    string knownFolder,
    Object requestImpl
virtual String^ GetKnownFolder (
    String^ knownFolder, 
    Object^ requestImpl
) abstract
public abstract String GetKnownFolder (
    String knownFolder, 
    Object requestImpl
public abstract function GetKnownFolder (
    knownFolder : String, 
    requestImpl : Object
) : String


  • knownFolder
  • requestImpl

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.


Target Platforms

See Also


Request Class
Request Members
Microsoft.OneGet.PackageProvider.Bootstrap Namespace