Solid Edge Assembly Type Library
RemoveCriteria Method
Member of the QueryPropertyConstants constant set that specifies the type of property to be removed from the query criteria (for example, author, category, comments, and so forth).
Specifies the name of a custom property to be removed from the query criteria.
Member of the QueryConditionConstants constant set that specifies the items to be removed (for example, items that contain the query criteria, items that match the criteria, or items that do not match the criteria).
Specifies the information to which the criteria is to be compared.
Description
Removes a specified criteria from the query associated with the referenced Query object.
Syntax
Visual Basic
Public Sub RemoveCriteria( _
   ByVal QueryProperty As QueryPropertyConstants, _
   ByVal CustomPropertyName As String, _
   ByVal QueryCondition As QueryConditionConstants, _
   ByVal Value As Variant _
) 
Parameters
QueryProperty
ValueDescription
seQueryPropertyAuthor
seQueryPropertyCategory
seQueryPropertyComments
seQueryPropertyCompany
seQueryPropertyCustom
seQueryPropertyDocumentNumber
seQueryPropertyKeywords
seQueryPropertyManager
seQueryPropertyMaterial
seQueryPropertyName
seQueryPropertyProject
seQueryPropertyReference
seQueryPropertyRevisionNumber
seQueryPropertyStatus
seQueryPropertySubject
seQueryPropertyTitle
Member of the QueryPropertyConstants constant set that specifies the type of property to be removed from the query criteria (for example, author, category, comments, and so forth).
CustomPropertyName
Specifies the name of a custom property to be removed from the query criteria.
QueryCondition
ValueDescription
seQueryConditionContains
seQueryConditionIs
seQueryConditionIsNot
Member of the QueryConditionConstants constant set that specifies the items to be removed (for example, items that contain the query criteria, items that match the criteria, or items that do not match the criteria).
Value
Specifies the information to which the criteria is to be compared.
See Also

Query Object  | Query Members

Send comments on this topic.