Deployment Tools Foundation
Equality Operator
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► ShortcutTarget ► Equality(ShortcutTarget, ShortcutTarget)
Tests whether two shortcut targets have the same product code, feature, and/or component code.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static bool operator ==( ShortcutTarget st1, ShortcutTarget st2 )
Public Shared Operator = ( _ st1 As ShortcutTarget, _ st2 As ShortcutTarget _ ) As Boolean
public: static bool operator ==( ShortcutTarget st1, ShortcutTarget st2 )
Parameters
- st1 (ShortcutTarget)
- The first shortcut target to compare.
- st2 (ShortcutTarget)
- The second shortcut target to compare.
Return Value
True if all parts of the targets are the same, else false.