TypeExtensions Class
Applies To: Dynamics CRM 2015
Extensions to help working with types. (Developer Extensions)
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Client.TypeExtensions
Syntax
public static class TypeExtensions
[ExtensionAttribute]
public ref class TypeExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type TypeExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class TypeExtensions
Methods
Name | Description | |
---|---|---|
GetCustomAttributes<T>(Type) | Returns the collection of custom attributes for a given type. |
|
GetEntityLogicalName(Type) | Returns the logical name value of the EntityLogicalNameAttribute attribute associated to the class type. |
|
GetFirstOrDefaultCustomAttribute<T>(Type) | Returns the first custom attribute of a given type. |
|
GetType(String) | Retrieves a type object by name and by searching through all available assemblies. |
|
GetUnderlyingType(Type) | Retrieves the underlying type if the type is nullable, otherwise returns the current type. |
|
IsA(Type, Type) | Determines if the input reference type is assignable from this type. |
|
IsA<T>(Type) | Determines if the input reference type is assignable from this type. |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright