다음을 통해 공유


TypeExtensions.GetUnderlyingType Method (Type)

 

Applies To: Dynamics CRM 2013

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 2013

Return to top