Matches Method
Collapse the table of content
Expand the table of content

FaultReasonText.Matches Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool Matches(
	CultureInfo cultureInfo
)

Parameters

cultureInfo
Type: System.Globalization.CultureInfo
The CultureInfo object to compare with the language of the description.

Return Value

Type: System.Boolean
true if the specified System.Globalization.CultureInfo matches; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft