Context.GetAttribute operator

Introduced

v4.0

Description

Gets an attribute on the context. Attributes are used to provide additional context information above and beyond the Context.Source. Supported attributes, if any, are documented along with the callbacks of each PluginItem.

If the attribute argument is not a recognized attribute the call returns an empty variant.

C# Syntax

Object Context.GetAttribute( String in_AttributeName );

Scripting Syntax

oVariant = Context.GetAttribute( AttributeName );

Return Value

Variant

Parameters

Parameter Type Description
AttributeName String Which attribute to get.

See Also

Context.Source