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