IsAttributeExist

Returns whether a specified layer attribute exists.

 

JavaScript

 

IsAttributeExist(

       AttributeName)

 

C#

 

bool IsAttributeExist(

       string AttributeName)

 

C++

 

HRESULT IsAttributeExist(

       BSTR AttributeName,

       VARIANT_BOOL* bExist)

Parameters

AttributeName

A string that holds the attribute’s name.

Return Value

bExist

A Boolean that determines if the attribute exists.

Exceptions

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