ESRI.ArcGIS.ADF.IMS
PrimaryKey Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > FeatureTable Class : PrimaryKey Property




Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Data")>
<ResDescriptionAttribute("Indicates the column(s) that represent the primary key for this table.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Microsoft.VSDesigner.Data.Design.PrimaryKeyEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<TypeConverterAttribute("System.Data.PrimaryKeyTypeConverter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
Public Property PrimaryKey As DataColumn()
Visual Basic (Usage)Copy Code
Dim instance As FeatureTable
Dim value() As DataColumn
 
instance.PrimaryKey = value
 
value = instance.PrimaryKey
C# 
[ResCategoryAttribute("Data")]
[ResDescriptionAttribute("Indicates the column(s) that represent the primary key for this table.")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Microsoft.VSDesigner.Data.Design.PrimaryKeyEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[TypeConverterAttribute("System.Data.PrimaryKeyTypeConverter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public DataColumn[] PrimaryKey {get; set;}

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

© 2011 All Rights Reserved.