次の方法で共有


NamedComponentCollection.IndexOf メソッド (String)

コンポーネントが最初に出現する位置のインデックスを報告します。

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

構文

'宣言
Public Function IndexOf ( _
    id As String _
) As Integer
'使用
Dim instance As NamedComponentCollection 
Dim id As String 
Dim returnValue As Integer 

returnValue = instance.IndexOf(id)
public int IndexOf(
    string id
)
public:
int IndexOf(
    String^ id
)
member IndexOf : 
        id:string -> int
public function IndexOf(
    id : String
) : int

パラメーター

戻り値

型: System.Int32
コンポーネントが最初に出現する位置のインデックスです。

関連項目

参照

NamedComponentCollection クラス

IndexOf オーバーロード

Microsoft.AnalysisServices 名前空間