PropertyNameEquals(String) Method

Definition

Assembly Tomlyn.dll

Checks whether the current property name matches the expected value, using an ordinal, case-sensitive comparison.

public bool PropertyNameEquals(string expected)

Parameters

expected
String

The expected property name.

Returns

Boolean
true when the property name matches; otherwise false.