ODataError.InstanceAnnotations Property
Gets or sets the collection of custom instance annotations.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Syntax
[SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly",
Justification = "We want to allow the same instance annotation collection instance to be shared across ODataLib OM instances.")]
public ICollection<ODataInstanceAnnotation> InstanceAnnotations { get; set; }
public:
[SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly",
Justification = "We want to allow the same instance annotation collection instance to be shared across ODataLib OM instances.")]
property ICollection<ODataInstanceAnnotation^>^ InstanceAnnotations {
ICollection<ODataInstanceAnnotation^>^ get();
void set(ICollection<ODataInstanceAnnotation^>^ value);
}
[<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly",
Justification = "We want to allow the same instance annotation collection instance to be shared across ODataLib OM instances.")>]
member InstanceAnnotations : ICollection<ODataInstanceAnnotation> with get, set
<SuppressMessageAttribute("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly",
Justification := "We want to allow the same instance annotation collection instance to be shared across ODataLib OM instances.")>
Public Property InstanceAnnotations As ICollection(Of ODataInstanceAnnotation)
Property Value
Type: System.Collections.Generic.ICollection<ODataInstanceAnnotation>
The collection of custom instance annotations.
See Also
ODataError Class
Microsoft.OData.Core Namespace
Return to top