Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HasStreamAttribute Class

Indicates that a class that is an entity type has a default binary data stream.

System.Object
  System.Attribute
    System.Data.Services.Common.HasStreamAttribute

Namespace:  System.Data.Services.Common
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public sealed class HasStreamAttribute : Attribute

The HasStreamAttribute type exposes the following members.

  NameDescription
Public methodHasStreamAttributeCreates a new instance of the HasStreamAttribute class.
Top

  NameDescription
Public propertyTypeId (Inherited from Attribute.)
Top

  NameDescription
Public methodEquals (Inherited from Attribute.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Public methodToString (Inherited from Object.)
Top

In terms of the Open Data Protocol (OData), the entity is known as a media link entry and the binary data stream is the media resource.

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