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)

Usage

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

returnValue = instance.GetKnownFolder(knownFolder, requestImpl)

Syntax

'Declaration
Public MustOverride Function GetKnownFolder ( _
    knownFolder As String, _
    requestImpl As Object _
) As String
public abstract string GetKnownFolder (
    string knownFolder,
    Object requestImpl
)
public:
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

Parameters

  • 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.

Platforms

Target Platforms

See Also

Reference

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