Version

Contains(String,Boolean) Method

Returns a boolean value indicating whether a view for the specified culture exists in this collection, optionally searching by the culture's two-letter name as well.
Syntax
'Declaration
 
Public Overloads Function Contains( _
   ByVal cultureName As String, _
   Optional ByVal partial As Boolean _
) As Boolean
public bool Contains( 
   string cultureName,
   bool partial
)

Parameters

cultureName
The full or partial name of the culture for which to search.
partial
Specifies whether a partial match is attempted in the case where no exact match exists.

Return Value

True if a view is defined for the specified culture.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also