Partilhar via


ODataUtils.NullValueReadBehaviorKind Method

Gets the reader behavior for null property value on the specified property.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function NullValueReadBehaviorKind ( _
    model As IEdmModel, _
    property As IEdmProperty _
) As ODataNullValueBehaviorKind
'Usage
Dim model As IEdmModel 
Dim property As IEdmProperty 
Dim returnValue As ODataNullValueBehaviorKind 

returnValue = model.NullValueReadBehaviorKind(property)
public static ODataNullValueBehaviorKind NullValueReadBehaviorKind(
    this IEdmModel model,
    IEdmProperty property
)
[ExtensionAttribute]
public:
static ODataNullValueBehaviorKind NullValueReadBehaviorKind(
    IEdmModel^ model, 
    IEdmProperty^ property
)
static member NullValueReadBehaviorKind : 
        model:IEdmModel * 
        property:IEdmProperty -> ODataNullValueBehaviorKind
public static function NullValueReadBehaviorKind(
    model : IEdmModel, 
    property : IEdmProperty
) : ODataNullValueBehaviorKind

Parameters

Return Value

Type: Microsoft.Data.OData.Metadata.ODataNullValueBehaviorKind
The behavior to use when reading null value for this property.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ODataUtils Class

Microsoft.Data.OData Namespace