CanAdd

Gets a Boolean that identifies if the object can be added to the selection buffer.

JavaScript

 

CanAdd(

       ObjectID)   

 

C#

 

bool CanAdd (

       string ObjectID)   

 

C++

 

HRESULT CanAdd (

       BSTR ObjectID

       VARIANT_BOOL* pVal)

Parameters

ObjectID

The ID of the object whose suitability for addition to the selection buffer is being checked.

Return Value

pVal

A Boolean that determines if the object can be added to the selection buffer.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.