Finds an attribute on a component.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function FindAttribute( _
ByVal AttributeDef As System.Object, _
ByVal WhichOne As System.Integer _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As IComponent2
Dim AttributeDef As System.Object
Dim WhichOne As System.Integer
Dim value As System.Object
value = instance.FindAttribute(AttributeDef, WhichOne) |
Parameters
- AttributeDef
- Attribute definition that you are looking for on this component
- WhichOne
- Index number of the attribute that you want to return; there might be several attributes
on this component
Return Value
Pointer to the
attribute
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0