ICCAttribute interface
Description
The ICCAttribute interface represents the DevOps Code ClearCase® attribute object.
Under DevOps Code ClearCase control, users are allowed to attach arbitrary data to ICCVOBObject objects. Such data is called an attribute.
Inheritance
Properties and related methods
Read-only properties
Methods
- Remove
Removes the attribute from its VOB object
Creation
Remove
Removes the attribute from its VOB object
Category
Method
VB syntax
Sub Remove([ Comment As String = "" ])
Visual C++ syntax
HRESULT Remove(_bstr_t Comment);
- Parameter
- Description
- Comment
- Optional in Visual Basic. A comment to associate with the history record for this Remove operation.
Member of: ICCAttribute interface
SetValue
Sets and resets the attribute value
Category
Method
VB syntax
Sub SetValue(Value As Variant, [ Comment As String = "" ])
Visual C++ syntax
HRESULT SetValue( const _variant_t& Value, _bstr_t Comment);
- Parameter
- Description
- Value
- New attribute value. The type of Value must match the attribute type ValueType.
- Comment
- Optional in Visual Basic. A comment to associate with the history record for this SetValue operation.
Type
Gets the attribute type of this attribute
Category
Read-only property
VB syntax
Property Type As CCAttributeType
Visual C++ syntax
ICCAttributeTypePtr GetType();
Return value
The local copy of the global type, not a handle to the global type.
Member of: ICCAttribute interface
Value
Gets the attribute value
Category
Read-only property
VB syntax
Property Value As Variant
Visual C++ syntax
_variant_t GetValue();
VOB
Gets the VOB that contains the object having this attribute
Category
Read-only property
VB syntax
Property VOB As CCVOB