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
Boolean
True if all parts of the targets are the same, else false.
True if all parts of the targets are the same, else false.
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.9.1006.0)