TranslationCollection.IndexOf 方法 (Translation)
Gets the index of a specified Translation.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Function IndexOf ( _
item As Translation _
) As Integer
'用途
Dim instance As TranslationCollection
Dim item As Translation
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
Translation item
)
public:
int IndexOf(
Translation^ item
)
member IndexOf :
item:Translation -> int
public function IndexOf(
item : Translation
) : int
參數
- item
型別:Microsoft.AnalysisServices.Translation
The Translation to be returned.
傳回值
型別:System.Int32
The zero-based index of the Translation if the object is found; otherwise, -1.