次の方法で共有


LevelPropertyCollection.Find メソッド

指定した名前の LevelProperty をコレクションから取得します。

名前空間:  Microsoft.AnalysisServices.AdomdClient
アセンブリ:  Microsoft.AnalysisServices.AdomdClient (Microsoft.AnalysisServices.AdomdClient.dll)

構文

'宣言
Public Function Find ( _
    index As String _
) As LevelProperty
'使用
Dim instance As LevelPropertyCollection 
Dim index As String 
Dim returnValue As LevelProperty 

returnValue = instance.Find(index)
public LevelProperty Find(
    string index
)
public:
LevelProperty^ Find(
    String^ index
)
member Find : 
        index:string -> LevelProperty
public function Find(
    index : String
) : LevelProperty

パラメーター

戻り値

型: Microsoft.AnalysisServices.AdomdClient.LevelProperty
指定した名前の LevelProperty です。

説明

オブジェクトが見つからない場合、Find メソッドは null を返し、Item プロパティは例外をスローします。

関連項目

参照

LevelPropertyCollection クラス

Microsoft.AnalysisServices.AdomdClient 名前空間