IAttribute80
This interface gives access to a specific data source attribute, enabling you to set or return its name, size and type and import status.
|
Properties |
|
|
Gets and sets a Boolean indicating import status of the attribute. |
|
|
Gets and sets the attribute name. |
|
|
Gets and sets the attribute size. |
|
|
Gets and sets the attribute type: text, integer or double. |
Import
Gets and sets a Boolean indicating import status of the attribute.
JavaScript |
|
Import |
C# |
|
bool Import { get; set; } |
C++ |
|
HRESULT Import([out, retval] VARIANT_BOOL* pVal) HRESULT Import([in] VARIANT_BOOL pVal) |
Name
Gets and sets the attribute name.
JavaScript |
|
Name |
C# |
|
string Name { get; set; } |
C++ |
|
HRESULT Name([out, retval] BSTR* pVal) HRESULT Name([in] BSTR pVal) |
Size
Gets and sets the size of the attribute.
JavaScript |
|
Size |
C# |
|
int Size { get; set; } |
C++ |
|
HRESULT Size([out, retval] long* pVal) HRESULT Size([in] long pVal) |
Type
Gets and sets an enum that determines the attribute type. The following are the possible values:
§ AT_UNKNOWN = -1
§ AT_TEXT = 0
§ AT_INTEGER = 1
§ AT_DOUBLE = 2
JavaScript |
|
Type |
C# |
|
AttributeTypeCode Type { get; set; } |
C++ |
|
HRESULT Type([out, retval] AttributeTypeCode* pVal) HRESULT Type([in] AttributeTypeCode pVal) |