Click here for NewsObjects Overview
InsertSubject Method (Profile Editor Control)
Windows - Visual C++


Description
The InsertSubject method replaces the current editing window selection with the specified subject code.

Syntax
long result = InsertSubject(LPCTSTR subjectCode);

The InsertSubject syntax has these parts:

Part

Description

subjectCode

A string containing a subject code.

result

A long integer containing 0, if the operation succeeded, or an error code, otherwise.

Remarks
The subject code will be enclosed in brackets when displayed.

See Also: InsertExpression InsertSource InsertTicker

Back to: Profile Editor Methods