FaultReasonText.Matches(CultureInfo) Method

Definition

Returns a value that indicates whether the language of the description matches provided CultureInfo object.

public:
 bool Matches(System::Globalization::CultureInfo ^ cultureInfo);
public bool Matches (System.Globalization.CultureInfo cultureInfo);
member this.Matches : System.Globalization.CultureInfo -> bool
Public Function Matches (cultureInfo As CultureInfo) As Boolean

Parameters

cultureInfo
CultureInfo

The CultureInfo object to compare with the language of the description.

Returns

true if the specified CultureInfo matches; otherwise, false.

Applies to