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
- attributeType
Type: System.Reflection.Mock.Type
- inherit
Type: Boolean
Return Value
Type: Boolean
.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.