Item 屬性 (String)

Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the AdomdParameterCollection class.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public Default Property Item ( _
    parameterName As String _
) As AdomdParameter
    Get
    Set
'用途
Dim instance As AdomdParameterCollection
Dim parameterName As String
Dim value As AdomdParameter

value = instance(parameterName)

instance(parameterName) = value

參數

例外狀況

例外狀況 條件
System..::..InvalidOperationException

The specified member did not exist in the collection.