Plumtree Tags API  
 

ATag.GetTagAttributeAsInt Method 

This method gets the requested attribute if it was present in the tag. Otherwise it returns the default value for the attribute.

E.G. <pt:tag pt:ptattr="12" width="10"/> would get the ptattr attribute, but not the width attribute.

A description of the valid formats for attributes can be found in the AttributeType class.

PT Tag Attribute Method
public virtual int GetTagAttributeAsInt(
   ATagAttribute _attribute
);

Parameters

_attribute

Return Value

int The value of the attribute.

See Also

ATag Class | com.plumtree.portaluiinfrastructure.tags Namespace | AttributeType#INT