MemberInfo.IsDefined Method

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

Syntax

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

returnValue = instance.IsDefined(attributeType, _
    inherit)
public abstract bool IsDefined(
    Type attributeType,
    bool inherit
)
public:
virtual bool IsDefined(
    Type^ attributeType, 
    bool inherit
) abstract
abstract IsDefined : 
        attributeType:Type * 
        inherit:bool -> bool 
public abstract function IsDefined(
    attributeType : Type, 
    inherit : boolean
) : boolean

Parameters

  • inherit
    Type: Boolean

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

MemberInfo Class

MemberInfo Members

System.Reflection.Mock Namespace