| ExtensionMethodsHasCustomAttribute Method (Type, Type) |
Namespace:
SanteDB
Assembly:
SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.481-alpha
Syntax public static bool HasCustomAttribute(
this Type t,
Type attributeType
)
<ExtensionAttribute>
Public Shared Function HasCustomAttribute (
t As Type,
attributeType As Type
) As Boolean
public:
[ExtensionAttribute]
static bool HasCustomAttribute(
Type^ t,
Type^ attributeType
)
[<ExtensionAttribute>]
static member HasCustomAttribute :
t : Type *
attributeType : Type -> bool
Parameters
- t
- Type: SystemType
The type on which attributeType should be checked - attributeType
- Type: SystemType
The type of attribute to check on t
Return Value
Type:
BooleanTrue if
t is annotated with
attributeTypeUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also