GraphConditionalStyle.Matches Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether the style should be applied based on the given context object.
If the style has no conditions or all the conditions are met, the style should be applied.
Namespace: Microsoft.VisualStudio.GraphModel.Styles
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function Matches ( _
context As Object _
) As Boolean
public bool Matches(
Object context
)
public:
bool Matches(
Object^ context
)
member Matches :
context:Object -> bool
public function Matches(
context : Object
) : boolean
Parameters
context
Type: System.ObjectThe object against which to evaluate the conditions.
Return Value
Type: System.Boolean
True if this style should be applied to the given context object; false otherwise.
.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.