 | ObjectWithAttributesGetAttribute Method |
Note: This API is now obsolete.
Gets the first attribute with the specified name from the attribute collection of the CAEX object.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("Use the Indexer")]
public static AttributeType GetAttribute(
this IObjectWithAttributes caexObject,
string name
)
<ExtensionAttribute>
<ObsoleteAttribute("Use the Indexer")>
Public Shared Function GetAttribute (
caexObject As IObjectWithAttributes,
name As String
) As AttributeType
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Use the Indexer")]
static AttributeType^ GetAttribute(
IObjectWithAttributes^ caexObject,
String^ name
)
Parameters
- caexObject IObjectWithAttributes
- The CAEX object.
- name String
- The attribute name.
Return Value
AttributeTypeGets the Attribute with the provided name.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IObjectWithAttributes. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also