共用方式為


MiningContentNodeCollection.Enumerator.Current 屬性

取得 MiningContentNodeCollection 中目前的 MiningContentNode

命名空間:  Microsoft.AnalysisServices.AdomdServer
組件:  msmgdsrv (在 msmgdsrv.dll 中)

語法

'宣告
Public ReadOnly Property Current As MiningContentNode 
    Get
'用途
Dim instance As MiningContentNodeCollection.Enumerator 
Dim value As MiningContentNode 

value = instance.Current
public MiningContentNode Current { get; }
public:
virtual property MiningContentNode^ Current {
    MiningContentNode^ get () sealed;
}
abstract Current : MiningContentNode 
override Current : MiningContentNode
final function get Current () : MiningContentNode

屬性值

型別:Microsoft.AnalysisServices.AdomdServer.MiningContentNode
如果列舉值未跳過集合結尾,為 MiningContentNodeCollection 中的 MiningContentNode

例外狀況

例外狀況 條件
[InvalidOperationException]

列舉值目前位於 MiningContentNodeCollection 中第一個 MiningContentNode 的前面或最末個的後面。 如需有關此例外的詳細資訊,請參閱<InvalidOperationException Class>。

備註

建立列舉值之後或在 Reset 之後,必須先呼叫 MoveNext 將列舉值前移到集合的第一個元素,然後再讀取 Current 的值。否則,Current 將為未定義。

請參閱

參考

MiningContentNodeCollection.Enumerator 類別

Microsoft.AnalysisServices.AdomdServer 命名空間