Class TableIndexHandle
A handle for an element in the SDS2 database.
Inheritance
System.Object
TableIndexHandle
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DesignData.SDS2.Database
Assembly: DesignData.SDS2.Database.dll
Syntax
public class TableIndexHandle
Constructors
TableIndexHandle(Table, Int32)
Declaration
public TableIndexHandle(Table table, int indexInTable)
Parameters
Type | Name | Description |
---|---|---|
Table | table | See the Table enumeration for possible values. |
System.Int32 | indexInTable | The index into that table. |
Remarks
It's recommended that you avoid constructing handles in this manner. If you need a long lasting identifier for an element in the SDS2 database you should find a GUID on that item and search for it to look it back up.
Properties
Index
The index into the table for this item.
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Table
The table enumeration value for this handle. Ex: Member
Declaration
public Table Table { get; }
Property Value
Type | Description |
---|---|
Table |
Methods
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
Finalize()
Declaration
protected void Finalize()
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()