Difference between revisions of "MemberInfo.GetAttributes"

From Xojo Documentation

 
Line 4: Line 4:
 
| ownertype=class
 
| ownertype=class
 
| scope=public
 
| scope=public
| parameters=[[TypeInfo]]
+
| returntype=[[AttributeInfo| AttributeInfo()]]
 
| platform=all
 
| platform=all
 
}}
 
}}

Latest revision as of 14:35, 6 April 2020

Method

MemberInfo.GetAttributes() As AttributeInfo()

Supported for all project types and targets.

Returns an array of AttributeInfo objects.

Sample Code

The following gets the attributes of window1.

Var myAttributes() As Introspection.AttributeInfo = Introspection.GetType(Window1).GetAttributes