IShellLinkWSetIconLocation Method
Sets the location (path and index) of the icon for a Shell link object.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
void SetIconLocation(
string iconPath,
int iconIndex
)
Sub SetIconLocation (
iconPath As String,
iconIndex As Integer
)
Dim instance As IShellLinkW
Dim iconPath As String
Dim iconIndex As Integer
instance.SetIconLocation(iconPath, iconIndex)
void SetIconLocation(
String^ iconPath,
int iconIndex
)
abstract SetIconLocation :
iconPath : string *
iconIndex : int -> unit
No code example is currently available or this language may not be supported.
Parameters
- iconPath String
-
The address of a buffer to contain the path of the file containing the icon.
- iconIndex Int32
-
The index of the icon.