TypeExtensions.IsA<T> Method (Type)
Applies To: Dynamics CRM 2013
Determines if the input reference type is assignable from this type.
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static bool IsA<T>(
this Type type
)
public:
generic<typename T>
[ExtensionAttribute]
static bool IsA(
Type^ type
)
static member IsA<'T> :
type:Type -> bool
<ExtensionAttribute>
Public Shared Function IsA(Of T) (
type As Type
) As Boolean
Parameters
type
Type: System.TypeThe reference type.
Return Value
Type: System.Boolean
Type: Boolean
true if the input reference type is assignable from this type; otherwise, false.
Type Parameters
- T
The type.
See Also
IsA Overload
TypeExtensions Class
Microsoft.Xrm.Client Namespace
Return to top