GetExamples Method

Returns all possible question examples for a relationship in which the entity is the subject of the question.

Syntax

array = QBRelationship.GetExamples(QBEntity, fdate, fneg)

or

array = QBQuestionTemplate.GetExamples(QBEntity, fdate, fneg)

Part Description
array A returned array of strings from which the user chooses an example.
QBRelationship or QBQuestionTemplate An object variable that represents a relationship or question template in the domain.
QBEntity, fdate, fneg The subject of the question, including those based on the following parameters:

fdate = 0 or 1. 1 indicates to include question examples containing date phrases.
fneg = 0 or 1; 1 indicates to include the negative form of the question.


Remarks

QBEntity is optional; however, if QBEntity is specified, the parameters must be specified in the order given. The examples are generated from the templates for the relationship.

Applies To

QBEntity

QBRelationship

QBQuestionTemplate


(c) 1996-1998 Microsoft Corporation. All Rights Reserved.