LiveWatchFilterRequestMatchesString Method

Checks whether the given string matches the filter. In the most basic form, checks whether the name contains the user-specified search string. Where supported, will also automatically handle the '$', '^' and '|' syntax.

Definition

Namespace: VisualGDBExtensibility.LiveWatch
Assembly: VisualGDBExtensibility (in VisualGDBExtensibility.dll) Version: 5.6.109.1 (5.6.109.4849)
C#
public virtual bool MatchesString(
	string name
)

Parameters

name  String
Specifies the name to check against the filter.

Return Value

Boolean
Returns true if the given name matches the filter

Remarks

This method is typically called from the MatchesFilter(LiveWatchFilterRequest) method. A typical implementation would check if the node's name, type, and other meaningful fields match the user-specified filter, and would return the visibility value based on it.

See Also