GraphConditionCollection.Contains Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether the given condition is in the list of conditions for this style.
Namespace: Microsoft.VisualStudio.GraphModel.Styles
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Contains ( _
item As GraphCondition _
) As Boolean
public bool Contains(
GraphCondition item
)
public:
virtual bool Contains(
GraphCondition^ item
) sealed
abstract Contains :
item:GraphCondition -> bool
override Contains :
item:GraphCondition -> bool
public final function Contains(
item : GraphCondition
) : boolean
Parameters
item
Type: Microsoft.VisualStudio.GraphModel.Styles.GraphConditionThe condition to search for.
Return Value
Type: System.Boolean
True if the given Condition is already in the list of conditions for this style; false otherwise.
Implements
.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.