Difference between revisions of "MemberInfo.GetAttributes"

From Xojo Documentation

(SMBot: new page by automated transformation)
 
 
(8 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
| ownertype=class
 
| ownertype=class
 
| scope=public
 
| scope=public
| parameters=[[AttributeInfo]]()
+
| returntype=[[AttributeInfo| AttributeInfo()]]
 
| platform=all
 
| platform=all
 
}}
 
}}
Returns an array of [[AttributeInfo]] objects.
+
{{Description
 +
|text = Returns an array of [[AttributeInfo]] objects.}}
 +
 
 +
== Sample Code ==
 +
The following gets the attributes of window1.
 +
<rbcode>
 +
Var myAttributes() As Introspection.AttributeInfo = Introspection.GetType(Window1).GetAttributes
 +
</rbcode>

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