Chili.Opf3 Send comments on this topic.
GetCustomAttributes Method
See Also 
Chili.Opf3.Mapping Namespace > IMemberInfo Interface : GetCustomAttributes Method




inherit
True to get also inherited attributes.
Returns an array containing the custom attributes on the element that is mapped to the storage.

Syntax

Visual Basic (Declaration) 
Overridable Function GetCustomAttributes( _
   ByVal inherit As Boolean _
) As Object()
Visual Basic (Usage)Copy Code
Dim instance As IMemberInfo
Dim inherit As Boolean
Dim value() As Object
 
value = instance.GetCustomAttributes(inherit)
C# 
virtual object[] GetCustomAttributes( 
   bool inherit
)
Managed Extensions for C++ 
virtual Object*[]* GetCustomAttributes( 
   bool inherit
) 
C++/CLI 
virtual array<Object^>^ GetCustomAttributes( 
   bool inherit
) 

Parameters

inherit
True to get also inherited attributes.

Return Value

An array containing the custom attribute of the element.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also