共用方式為


ContextNodeBaseCollection.AddRange 方法

ContextNodeBaseCollection 加入至這個 ContextNodeBaseCollection

命名空間:  System.Windows.Ink.AnalysisCore
組件:  IACore (在 IACore.dll 中)

語法

'宣告
Public Sub AddRange ( _
    nodesToAdd As ContextNodeBaseCollection _
)
'用途
Dim instance As ContextNodeBaseCollection
Dim nodesToAdd As ContextNodeBaseCollection

instance.AddRange(nodesToAdd)
public void AddRange(
    ContextNodeBaseCollection nodesToAdd
)
public:
void AddRange(
    ContextNodeBaseCollection^ nodesToAdd
)
public void AddRange(
    ContextNodeBaseCollection nodesToAdd
)
public function AddRange(
    nodesToAdd : ContextNodeBaseCollection
)

參數

範例

下列範例會將 ContextNodeBaseCollection (newNodes) 加入至 ContextNodeBaseCollection (名為 nodes)。

nodes.AddRange(newNodes)
            nodes.AddRange(newNodes);

平台

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

ContextNodeBaseCollection 類別

ContextNodeBaseCollection 成員

System.Windows.Ink.AnalysisCore 命名空間