ODataMessageReaderSettingsBase.ShouldIncludeAnnotation Property

Gets or sets whether an annotation should be read or skipped by the reader.

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

Syntax

'Declaration
Public Overridable Property ShouldIncludeAnnotation As Func(Of String, Boolean)
    Get 
    Set
'Usage
Dim instance As ODataMessageReaderSettingsBase 
Dim value As Func(Of String, Boolean)

value = instance.ShouldIncludeAnnotation

instance.ShouldIncludeAnnotation = value
public virtual Func<string, bool> ShouldIncludeAnnotation { get; set; }
public:
virtual property Func<String^, bool>^ ShouldIncludeAnnotation {
    Func<String^, bool>^ get ();
    void set (Func<String^, bool>^ value);
}
abstract ShouldIncludeAnnotation : Func<string, bool> with get, set 
override ShouldIncludeAnnotation : Func<string, bool> with get, set
function get ShouldIncludeAnnotation () : Func<String, boolean>
function set ShouldIncludeAnnotation (value : Func<String, boolean>)

Property Value

Type: System.Func<String, Boolean>
true if the annotation should be read and false if the annotation should be skipped. A nulla null reference (Nothing in Visual Basic) value indicates that all annotations should be skipped.

See Also

Reference

ODataMessageReaderSettingsBase Class

Microsoft.Data.OData Namespace