Share via


ODataNullValueAttribute Class

Represents an attributes of the OData null value.

Inheritance Hierarchy

System.Object
  System.Attribute
    System.Web.Http.Filters.FilterAttribute
      System.Web.Http.Filters.ActionFilterAttribute
        System.Web.Http.OData.ODataNullValueAttribute

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Method, AllowMultiple := False)> _
Public NotInheritable Class ODataNullValueAttribute _
    Inherits ActionFilterAttribute
'Usage
Dim instance As ODataNullValueAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false)]
public sealed class ODataNullValueAttribute : ActionFilterAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Method, AllowMultiple = false)]
public ref class ODataNullValueAttribute sealed : public ActionFilterAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false)>]
type ODataNullValueAttribute =  
    class 
        inherit ActionFilterAttribute 
    end
public final class ODataNullValueAttribute extends ActionFilterAttribute

The ODataNullValueAttribute type exposes the following members.

Constructors

  Name Description
Public method ODataNullValueAttribute Initializes a new instance of the ODataNullValueAttribute class.

Top

Properties

  Name Description
Public property AllowMultiple (Inherited from FilterAttribute.)
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Public method OnActionExecuted Called after the action method is invoked. (Overrides ActionFilterAttribute.OnActionExecuted(HttpActionExecutedContext).)
Public method OnActionExecutedAsync (Inherited from ActionFilterAttribute.)
Public method OnActionExecuting (Inherited from ActionFilterAttribute.)
Public method OnActionExecutingAsync (Inherited from ActionFilterAttribute.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IActionFilter.ExecuteActionFilterAsync (Inherited from ActionFilterAttribute.)
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.OData Namespace