 | AMLEngineAdapterGetAttributeValue Method |
Note: This API is now obsolete.
Returns an attribute value of a given attribute name.
Namespace: Aml.Engine.AdapterAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("Use Indexer of Attribute Property with access to the Attribute Value Property: ...Attribute[attName]?.Value")]
public static string GetAttributeValue(
this IObjectWithAttributes objWithAttr,
string attName
)
<ExtensionAttribute>
<ObsoleteAttribute("Use Indexer of Attribute Property with access to the Attribute Value Property: ...Attribute[attName]?.Value")>
Public Shared Function GetAttributeValue (
objWithAttr As IObjectWithAttributes,
attName As String
) As String
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Use Indexer of Attribute Property with access to the Attribute Value Property: ...Attribute[attName]?.Value")]
static String^ GetAttributeValue(
IObjectWithAttributes^ objWithAttr,
String^ attName
)
Parameters
- objWithAttr IObjectWithAttributes
-
Object with attributes
- attName String
-
name of attribute
Return Value
String
attribute value, "" if attribute does not exist
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