Equality Operator

DTF API

Copy image CopyHover image
Deployment Tools Foundation Equality Operator
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerShortcutTargetEquality(ShortcutTarget, ShortcutTarget)
Tests whether two shortcut targets have the same product code, feature, and/or component code.
Declaration Syntax
C# Visual Basic Visual C++ F#
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
)
static let inline (=)
        st1 : ShortcutTarget * 
        st2 : ShortcutTarget  : bool
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.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)