PowerTools ActiveReports for .NET 11.0J
Tag プロパティ (Field)
使用例 

フィールドオブジェクトに関連するユーザー定義の値を取得または設定します。
構文
'宣言
 
Public Property Tag As Object
public object Tag {get; set;}

プロパティ値

ユーザー定義の値。

使用例
private void UnboundGrp_DataInitialize(object sender, System.EventArgs eArgs)
{
    Fields.Add("CategoryID");
    Fields.Add("CategoryName");
    Fields.Add("ProductName");
    Fields.Add("UnitsInStock");
    Fields.Add("Description");
    Fields.Add("TotalLabel");
    Fields[0].Tag = "Some extra data";
}
Private Sub rptUnboundGrp_DataInitialize(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.DataInitialize
  Fields.Add("CategoryID")
  Fields.Add("CategoryName")
  Fields.Add("ProductName")
  Fields.Add("UnitsInStock")
  Fields.Add("Description")
  Fields.Add("TotalLabel")
  Fields(0).Tag = "Some extra data"
End Sub
参照

関連項目

Field クラス
Field メンバ

 

 


©2003-2017 GrapeCity inc. All rights reserved.