Item 屬性 (Int32)
Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its index. 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 ( _
index As Integer _
) As AdomdParameter
Get
Set
'用途
Dim instance As AdomdParameterCollection
Dim index As Integer
Dim value As AdomdParameter
value = instance(index)
instance(index) = value
[BrowsableAttribute(false)]
public AdomdParameter this[
int index
] { get; set; }
[BrowsableAttribute(false)]
public:
property AdomdParameter^ default[int index] {
AdomdParameter^ get (int index);
void set (int index, AdomdParameter^ value);
}
[<BrowsableAttribute(false)>]
member Item : AdomdParameter with get, set
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- index
型別:System. . :: . .Int32
The zero-based index of the AdomdParameter object to find.