次の方法で共有


ContextNodeBase.ReparentStrokes メソッド

基本オブジェクトでのみ使用します。この ContextNodeBase オブジェクトから、指定された ContextNodeBase オブジェクトに、ストロークを移動します。

名前空間 :  System.Windows.Ink.AnalysisCore
アセンブリ :  IACore (IACore.dll 内)

構文

'宣言
Public Sub ReparentStrokes ( _
    strokeIdsToReparent As Integer(), _
    destination As ContextNodeBase _
)
'使用
Dim instance As ContextNodeBase
Dim strokeIdsToReparent As Integer()
Dim destination As ContextNodeBase

instance.ReparentStrokes(strokeIdsToReparent, _
    destination)
public void ReparentStrokes(
    int[] strokeIdsToReparent,
    ContextNodeBase destination
)
public:
void ReparentStrokes(
    array<int>^ strokeIdsToReparent, 
    ContextNodeBase^ destination
)
public void ReparentStrokes(
    int[] strokeIdsToReparent,
    ContextNodeBase destination
)
public function ReparentStrokes(
    strokeIdsToReparent : int[], 
    destination : ContextNodeBase
)

パラメータ

  • strokeIdsToReparent
    型 : array<System.Int32[]
    移動するストロークの識別子。

解説

指定する ContextNodeBase は、次の型のいずれかにする必要があります。

他の型の ContextNodeBase にストロークを移動しようとすると、ArgumentException が発生します。

このメソッドは、インク以外のリーフ ContextNodeBase オブジェクトを含む、ContextNodeBase オブジェクトから呼び出すことができます。指定されたストロークは、この ContextNodeBase オブジェクトのいずれかの子孫が参照する必要があります。参照しない場合は、ArgumentException が発生します。

ContextNodeBase オブジェクトまたは destination のどちらかが確認済みの場合、例外が発生します。

プラットフォーム

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

ContextNodeBase クラス

ContextNodeBase メンバ

System.Windows.Ink.AnalysisCore 名前空間