共用方式為


LevelPropertyCollection.Find 方法

Gets the specified LevelProperty from the collection by its name.

命名空間:  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
The LevelProperty with the specified name.

備註

If the object is not found, the Find method returns null, whereas the Item property throws an exception.

請參閱

參考

LevelPropertyCollection 類別

Microsoft.AnalysisServices.AdomdClient 命名空間