 | AMLEngineAdaptergetAttributeField Method |
Note: This API is now obsolete.
Get the whole attribute field containing a collection of all attributes of this object.
Namespace: Aml.Engine.AdapterAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("Direct enumeration of the Attribute property is supported",
false)]
public static IEnumerable<AttributeType> getAttributeField(
this IObjectWithAttributes objectWithAttributes
)
<ExtensionAttribute>
<ObsoleteAttribute("Direct enumeration of the Attribute property is supported",
false)>
Public Shared Function getAttributeField (
objectWithAttributes As IObjectWithAttributes
) As IEnumerable(Of AttributeType)
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Direct enumeration of the Attribute property is supported",
false)]
static IEnumerable<AttributeType^>^ getAttributeField(
IObjectWithAttributes^ objectWithAttributes
)
Parameters
- objectWithAttributes IObjectWithAttributes
- The object with attributes.
Return Value
IEnumerableAttributeType
CAEX_ClassModel.MemberElement_Attribute.
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