TranslationCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Contains(Translation) |
Indicates whether the collection contains the specified Translation. |
Contains(Int32) |
Indicates whether the collection contains a Translation with the specified language. |
Contains(Translation)
Indicates whether the collection contains the specified Translation.
public bool Contains (Microsoft.AnalysisServices.Translation item);
override this.Contains : Microsoft.AnalysisServices.Translation -> bool
Public Function Contains (item As Translation) As Boolean
Parameters
- item
- Translation
The Translation to be located.
Returns
True, if the specified Translation is found in the collection, otherwise, false.
Applies to
Contains(Int32)
Indicates whether the collection contains a Translation with the specified language.
public bool Contains (int language);
override this.Contains : int -> bool
Public Function Contains (language As Integer) As Boolean
Parameters
- language
- Int32
The language of the Translation to be located.
Returns
True, if the specified Translation is found in the collection, otherwise, false.
Exceptions
The specified language is a null reference (Nothing in Visual Basic).