Compartilhar via


CalculatedMember.IsValid Property

Returns a Boolean that indicates whether the specified calculated member has been successfully instantiated with the OLAP provider during the current session.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property IsValid As Boolean
    Get
'Usage
Dim instance As CalculatedMember
Dim value As Boolean

value = instance.IsValid
bool IsValid { get; }

Property Value

Type: System.Boolean

Remarks

This property returns True even if the PivotTable is not connected to its data source. Make sure that the PivotTable is connected before querying the value of the IsValid property.

See Also

Reference

CalculatedMember Interface

CalculatedMember Members

Microsoft.Office.Interop.Excel Namespace