MemberInfo.GetCustomAttributes Method (Type, )

Namespace:  System.Reflection.Mock
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public MustOverride Function GetCustomAttributes ( _
    attributeType As Type, _
    inherit As Boolean _
) As Object()
'Usage
Dim instance As MemberInfo
Dim attributeType As Type
Dim inherit As Boolean
Dim returnValue As Object()

returnValue = instance.GetCustomAttributes(attributeType, _
    inherit)
public abstract Object[] GetCustomAttributes(
    Type attributeType,
    bool inherit
)
public:
virtual array<Object^>^ GetCustomAttributes(
    Type^ attributeType, 
    bool inherit
) abstract
abstract GetCustomAttributes : 
        attributeType:Type * 
        inherit:bool -> Object[] 
public abstract function GetCustomAttributes(
    attributeType : Type, 
    inherit : boolean
) : Object[]

Parameters

  • inherit
    Type: Boolean

Return Value

Type: array<Object[]

.NET Framework Security

See Also

Reference

MemberInfo Class

MemberInfo Members

GetCustomAttributes Overload

System.Reflection.Mock Namespace