FindSubjectCode Method (Utility Control)
Windows - Visual C++
Description
The FindSubjectCode method
retrieves the subject code from the subject name.
Syntax
long result =
FindSubjectCode(LPCTSTR SubjectName);
The FindSubjectCode syntax has these parts:
Part |
Description |
SubjectName |
A String containing the subject name. |
result |
Return value. A long integer containing 0 if successful and 1 if not. |
Remarks
After the FindSubjectCode method is
called, the retrieved subject code is stored in the SubjectCode property.
See Also: SubjectCode
Back to: Utility Methods