Share via


ODataModelBuilder.GetTypeConfigurationOrNull Method (Type)

 

Attempts to find a pre-configured structural type or a primitive type or an enum type that matches the T. If no matches are found NULL is returned.

Namespace:   System.Web.OData.Builder
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

public IEdmTypeConfiguration GetTypeConfigurationOrNull(
    Type type
)
public:
IEdmTypeConfiguration^ GetTypeConfigurationOrNull(
    Type^ type
)
member GetTypeConfigurationOrNull : 
        type:Type -> IEdmTypeConfiguration
Public Function GetTypeConfigurationOrNull (
    type As Type
) As IEdmTypeConfiguration

Parameters

Return Value

Type: System.Web.OData.Builder.IEdmTypeConfiguration

See Also

ODataModelBuilder Class
System.Web.OData.Builder Namespace

Return to top