Share via


SelectAttribute Class

Definition

Represents an Attribute that can be placed on a property or a class correlate to OData's $select query option settings.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)]
public sealed class SelectAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=true)>]
type SelectAttribute = class
    inherit Attribute
Public NotInheritable Class SelectAttribute
Inherits Attribute
Inheritance
SelectAttribute
Attributes

Constructors

SelectAttribute()

Initializes a new instance of the SelectAttribute class.

SelectAttribute(String[])

Initializes a new instance of the SelectAttribute class with the name of allowed select properties.

Properties

SelectConfigurations

Gets or sets the SelectExpandType of properties.

SelectType

Gets or sets the SelectExpandType of properties.

Applies to