QuickOPC User's Guide and Reference
CannotApplyEqualityOperatorAttribute Class
Members 



OpcLabs.BaseLib Assembly > JetBrains.Annotations Namespace : CannotApplyEqualityOperatorAttribute Class
Indicates that the value of marked type (or its derivatives) cannot be compared using '==' or '!=' operators. There is only exception to compare with null, it is permitted
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class Or  _
    AttributeTargets.Struct Or  _
    AttributeTargets.Interface, 
   AllowMultiple=False, 
   Inherited=True)>
<ComVisibleAttribute(False)>
Public NotInheritable Class CannotApplyEqualityOperatorAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
'Usage
 
Dim instance As CannotApplyEqualityOperatorAttribute
[AttributeUsage(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Interface, 
   AllowMultiple=false, 
   Inherited=true)]
[ComVisible(false)]
public sealed class CannotApplyEqualityOperatorAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
[AttributeUsage(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Interface, 
   AllowMultiple=false, 
   Inherited=true)]
[ComVisible(false)]
public ref class CannotApplyEqualityOperatorAttribute sealed : public System.Attribute, System.Runtime.InteropServices._Attribute  
Inheritance Hierarchy

System.Object
   System.Attribute
      JetBrains.Annotations.CannotApplyEqualityOperatorAttribute

Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

CannotApplyEqualityOperatorAttribute Members
JetBrains.Annotations Namespace