DropDownMember.Equality Operator
Determines if two DropDownMember objects are equal.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Shared Operator = ( _
m1 As DropDownMember, _
m2 As DropDownMember _
) As Boolean
public static bool operator ==(
DropDownMember m1,
DropDownMember m2
)
Parameters
- m1
Type: Microsoft.VisualStudio.Package.DropDownMember
[in] The first DropDownMember object to compare.
- m2
Type: Microsoft.VisualStudio.Package.DropDownMember
[in] The second DropDownMember object to compare.
Return Value
Type: System.Boolean
true if the two DropDownMember objects are equal, otherwise false.
Remarks
This operator method returns the result from m1.Equals(m2).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.