PrintDocument for WinForms
Add(String,IDocumentLocation,Icon) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > OutlineNodeCollection クラス > Add メソッド : Add(String,IDocumentLocation,Icon) メソッド
The caption of the node to add.
The location associated with the node.
The icon associated with the node.
Adds a node with the specified caption, location and icon to the current collection.
シンタックス
'宣言
 
Public Overloads Function Add( _
   ByVal caption As System.String, _
   ByVal location As IDocumentLocation, _
   ByVal icon As System.Drawing.Icon _
) As System.Integer
'使用法
 
Dim instance As OutlineNodeCollection
Dim caption As System.String
Dim location As IDocumentLocation
Dim icon As System.Drawing.Icon
Dim value As System.Integer
 
value = instance.Add(caption, location, icon)
public System.int Add( 
   System.string caption,
   IDocumentLocation location,
   System.Drawing.Icon icon
)

パラメータ

caption
The caption of the node to add.
location
The location associated with the node.
icon
The icon associated with the node.

戻り値の型

The index of the newly added node in the current collection.
参照

OutlineNodeCollection クラス
OutlineNodeCollection メンバ
オーバーロード一覧