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
[BrowsableAttribute(false)]
public AdomdParameter this[
string parameterName
] { get; set; }
[BrowsableAttribute(false)]
public:
property AdomdParameter^ default[String^ parameterName] {
AdomdParameter^ get (String^ parameterName);
void set (String^ parameterName, AdomdParameter^ value);
}
[<BrowsableAttribute(false)>]
member Item : AdomdParameter with get, set
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.
매개 변수
- parameterName
유형: System. . :: . .String
The name of the AdomdParameter object to find.
예외
예외 | 조건 |
---|---|
System..::..InvalidOperationException | The specified member did not exist in the collection. |