Class TableIndexHandle
A handle for an element in the SDS2 database.
Inheritance
TableIndexHandle
Inherited Members
Namespace: DesignData .SDS2.Database
Assembly: DesignData.SDS2.Database.dll
Syntax
public class TableIndexHandle
Constructors
TableIndexHandle(Table, int)
A handle for an element in the SDS2 database.
Declaration
public TableIndexHandle(Table table, int indexInTable)
Parameters
Type | Name | Description |
---|---|---|
Table | table | See the Table enumeration for possible values. |
int | 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 |
---|---|
int |
Table
The table enumeration value for this handle. Ex: Member
Declaration
public Table Table { get; }
Property Value
Type | Description |
---|---|
Table |
Methods
Dispose(bool)
A handle for an element in the SDS2 database.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Equals(object)
A handle for an element in the SDS2 database.
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
object | other |
Returns
Type | Description |
---|---|
bool |
Overrides
~TableIndexHandle()
A handle for an element in the SDS2 database.
Declaration
protected ~TableIndexHandle()
GetHashCode()
A handle for an element in the SDS2 database.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
ToString()
A handle for an element in the SDS2 database.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |