PerspectiveCalculationCollection.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(PerspectiveCalculation) |
Indicates whether the collection contains the specified PerspectiveCalculation. |
Contains(String) |
Indicates whether the collection contains a PerspectiveCalculation with the specified name. |
Contains(PerspectiveCalculation)
Indicates whether the collection contains the specified PerspectiveCalculation.
public bool Contains (Microsoft.AnalysisServices.PerspectiveCalculation item);
override this.Contains : Microsoft.AnalysisServices.PerspectiveCalculation -> bool
Public Function Contains (item As PerspectiveCalculation) As Boolean
Parameters
The PerspectiveCalculation to be located.
Returns
True, if the specified PerspectiveCalculation is found in the collection, otherwise, false.
Applies to
Contains(String)
Indicates whether the collection contains a PerspectiveCalculation with the specified name.
public bool Contains (string name);
override this.Contains : string -> bool
Public Function Contains (name As String) As Boolean
Parameters
- name
- String
The name of the PerspectiveCalculation to be located.
Returns
True, if the specified PerspectiveCalculation is found in the collection, otherwise, false.
Exceptions
The specified name is a null reference (Nothing in Visual Basic).