Share via


ODataModelBuilder.GetTypeConfigurationOrNull Method (Type)

 

Attempts to find either a pre-configured structural type or a primitive type that matches the type. If no matches are found null is returned.

Namespace:   System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.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.Http.OData.Builder.IEdmTypeConfiguration

A pre-configured structural type or a primitive type if found; otherwise, null.

See Also

ODataModelBuilder Class
System.Web.Http.OData.Builder Namespace

Return to top