Share via


ShellApplication.Pin 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 lnkPath As String

ShellApplication.Pin(lnkPath)

Syntax

'Declaration
Public Shared Sub Pin ( _
    lnkPath As String _
)
public static void Pin (
    string lnkPath
)
public:
static void Pin (
    String^ lnkPath
)
public static void Pin (
    String lnkPath
)
public static function Pin (
    lnkPath : String
)

Parameters

  • lnkPath

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

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