TypeExtensions Class

 

Updated: January 15, 2016

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)

System::Object
  Microsoft.Xrm.Client::TypeExtensions

[ExtensionAttribute]
public ref class TypeExtensions abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetCustomAttributes<T>(Type^)

Returns the collection of custom attributes for a given type.

System_CAPS_pubmethodSystem_CAPS_staticGetEntityLogicalName(Type^)

Returns the logical name value of the EntityLogicalNameAttribute attribute associated to the class type.

System_CAPS_pubmethodSystem_CAPS_staticGetFirstOrDefaultCustomAttribute<T>(Type^)

Returns the first custom attribute of a given type.

System_CAPS_pubmethodSystem_CAPS_staticGetType(String^)

Retrieves a type object by name and by searching through all available assemblies.

System_CAPS_pubmethodSystem_CAPS_staticGetUnderlyingType(Type^)

Retrieves the underlying type if the type is nullable, otherwise returns the current type.

System_CAPS_pubmethodSystem_CAPS_staticIsA(Type^, Type^)

Determines if the input reference type is assignable from this type.

System_CAPS_pubmethodSystem_CAPS_staticIsA<T>(Type^)

Determines if the input reference type is assignable from this type.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

© 2017 Microsoft. All rights reserved. Copyright

Show: