Share via


TypeExtensions.GetUnderlyingType Method (Type)

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Xrm.Client
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static Type GetUnderlyingType(
    this Type type
)
public:
[ExtensionAttribute]
static Type^ GetUnderlyingType(
    Type^ type
)
static member GetUnderlyingType : 
        type:Type -> Type
<ExtensionAttribute>
Public Shared Function GetUnderlyingType (
    type As Type
) As Type

Parameters

Return Value

Type: System.Type

Type: Type
The underlying type.

See Also

TypeExtensions Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright