Autodesk.AutoCAD.DatabaseServices Namespace > AssocValueProviderPE Class > AssocValueProviderPE Methods > CanGetValue Method
AssocValueProviderPE.CanGetValue Method   
Description

Checks whether it is possible to get the value identified by valueName. The default implementation always returns true for any valueName.

Visual Basic
Public virtual Function CanGetValue(
    dbObj As DBObject, 
    valueName As string
) As bool
C#
public virtual bool CanGetValue(
    DBObject dbObj, 
    string valueName
);
Parameters
Parameters 
Description 
string valueName 
The name of the queried value. 
object 
The object must be open for read. 
Returns

True if a value with the given name can be obtained. The default implementation always returns true.

Links
   Comments?