DictTable.Titlefield1 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Titlefield1() |
Returns the ID of the field that represents the titleField1 property of the table. |
Titlefield1(Boolean) | |
Titlefield1(Boolean, Boolean) |
Titlefield1()
Returns the ID of the field that represents the titleField1 property of the table.
public:
virtual int Titlefield1();
public virtual int Titlefield1 ();
abstract member Titlefield1 : unit -> int
override this.Titlefield1 : unit -> int
Public Overridable Function Titlefield1 () As Integer
Returns
The ID of the field that represents the titleField1 property of the table.
Remarks
According to best practice guidelines, the titleField1 property represents the key field for the records in the table.
The following example shows the retrieval of the ID of the field that is used for the titleField1 property of the table.
DictTable dt;
DictField df;
dt = new DictTable(tablenum(CustTable));
if (dt)
{
df = new DictField(tablenum(CustTable),dt.titleField1());
if (df)
{
print df.name();
}
}
pause;
Applies to
Titlefield1(Boolean)
public:
virtual int Titlefield1(bool fIncludeBase);
public virtual int Titlefield1 (bool fIncludeBase);
abstract member Titlefield1 : bool -> int
override this.Titlefield1 : bool -> int
Public Overridable Function Titlefield1 (fIncludeBase As Boolean) As Integer
Parameters
- fIncludeBase
- Boolean
Returns
Applies to
Titlefield1(Boolean, Boolean)
public:
virtual int Titlefield1(bool fIncludeBase, bool fGetExtendedFieldId);
public virtual int Titlefield1 (bool fIncludeBase, bool fGetExtendedFieldId);
abstract member Titlefield1 : bool * bool -> int
override this.Titlefield1 : bool * bool -> int
Public Overridable Function Titlefield1 (fIncludeBase As Boolean, fGetExtendedFieldId As Boolean) As Integer
Parameters
- fIncludeBase
- Boolean
- fGetExtendedFieldId
- Boolean