Click or drag to resize

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.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
[ObsoleteAttribute("Use the Indexer")]
public static AttributeType GetAttribute(
	this IObjectWithAttributes caexObject,
	string name
)

Parameters

caexObject  IObjectWithAttributes
The CAEX object.
name  String
The attribute name.

Return Value

AttributeType
Gets 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