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
- attributeType
Type: System.Reflection.Mock.Type
- inherit
Type: Boolean
Return Value
Type: array<Object[]
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.