Deployment Tools Foundation
GetShortcutTarget Method (shortcut)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Installer ► GetShortcutTarget(String)
Examines a shortcut and returns its product, feature name, and component if available.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static ShortcutTarget GetShortcutTarget( string shortcut )
Public Shared Function GetShortcutTarget ( shortcut As String ) As ShortcutTarget
public: static ShortcutTarget GetShortcutTarget( String^ shortcut )
static member GetShortcutTarget : shortcut : string -> ShortcutTarget
Parameters
- shortcut (String)
- Full path to a shortcut
Return Value
ShortcutTarget
ShortcutTarget structure containing target product code, feature, and component code
ShortcutTarget structure containing target product code, feature, and component code
Remarks
Win32 MSI API: MsiGetShortcutTarget
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)