Open sandboxFocus

Method MustVisit

MustVisit(string, ref TState)

Determines whether a given property must be visited. If this method returns true, the property is not evaluated.

Declaration
bool MustVisit(string name, ref TState state)
Parameters
Type Name Description
string name

The property name.

TState state

The opaque state passed to VisitProperties<TState>(IUnknownObjectPropertyVisitor<TState>, ref TState).

Returns
Type Description
bool

true if the property must be visited; otherwise, false.