Intersoft WebGrid Documentation
AutoIncrementAttribute Class
Members  See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace : AutoIncrementAttribute Class






This attribute to mark a property in custom object as an auto increment field.

Object Model

AutoIncrementAttribute Class

Syntax

Visual Basic (Declaration) 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Assembly Or  _
    AttributeTargets.Module Or  _
    AttributeTargets.Class Or  _
    AttributeTargets.Struct Or  _
    AttributeTargets.Enum Or  _
    AttributeTargets.Constructor Or  _
    AttributeTargets.Method Or  _
    AttributeTargets.Property Or  _
    AttributeTargets.Field Or  _
    AttributeTargets.Event Or  _
    AttributeTargets.Interface Or  _
    AttributeTargets.Parameter Or  _
    AttributeTargets.Delegate Or  _
    AttributeTargets.ReturnValue Or  _
    AttributeTargets.GenericParameter Or  _
    AttributeTargets.All, 
   AllowMultiple=False, 
   Inherited=True)>
Public Class AutoIncrementAttribute 
   Inherits System.Attribute
Visual Basic (Usage)Copy Code
Dim instance As AutoIncrementAttribute
C# 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Assembly | 
    AttributeTargets.Module | 
    AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Enum | 
    AttributeTargets.Constructor | 
    AttributeTargets.Method | 
    AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Event | 
    AttributeTargets.Interface | 
    AttributeTargets.Parameter | 
    AttributeTargets.Delegate | 
    AttributeTargets.ReturnValue | 
    AttributeTargets.GenericParameter | 
    AttributeTargets.All, 
   AllowMultiple=false, 
   Inherited=true)]
public class AutoIncrementAttribute : System.Attribute 
Delphi 
public class AutoIncrementAttribute = class(System.Attribute)
JScript 
AttributeUsageAttribute(ValidOn=AttributeTargets.Assembly | 
    AttributeTargets.Module | 
    AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Enum | 
    AttributeTargets.Constructor | 
    AttributeTargets.Method | 
    AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Event | 
    AttributeTargets.Interface | 
    AttributeTargets.Parameter | 
    AttributeTargets.Delegate | 
    AttributeTargets.ReturnValue | 
    AttributeTargets.GenericParameter | 
    AttributeTargets.All, 
   AllowMultiple=, 
   Inherited=)
public class AutoIncrementAttribute extends System.Attribute
Managed Extensions for C++ 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Assembly | 
    AttributeTargets.Module | 
    AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Enum | 
    AttributeTargets.Constructor | 
    AttributeTargets.Method | 
    AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Event | 
    AttributeTargets.Interface | 
    AttributeTargets.Parameter | 
    AttributeTargets.Delegate | 
    AttributeTargets.ReturnValue | 
    AttributeTargets.GenericParameter | 
    AttributeTargets.All, 
   AllowMultiple=false, 
   Inherited=true)]
public __gc class AutoIncrementAttribute : public System.Attribute 
C++/CLI 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Assembly | 
    AttributeTargets.Module | 
    AttributeTargets.Class | 
    AttributeTargets.Struct | 
    AttributeTargets.Enum | 
    AttributeTargets.Constructor | 
    AttributeTargets.Method | 
    AttributeTargets.Property | 
    AttributeTargets.Field | 
    AttributeTargets.Event | 
    AttributeTargets.Interface | 
    AttributeTargets.Parameter | 
    AttributeTargets.Delegate | 
    AttributeTargets.ReturnValue | 
    AttributeTargets.GenericParameter | 
    AttributeTargets.All, 
   AllowMultiple=false, 
   Inherited=true)]
public ref class AutoIncrementAttribute : public System.Attribute 

Inheritance Hierarchy

System.Object
   System.Attribute
      ISNet.WebUI.WebGrid.AutoIncrementAttribute

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.