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.
This topic has not yet been rated - Rate this topic

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)
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True, AllowMultiple := False)> _
Public NotInheritable Class HasStreamAttribute _
	Inherits Attribute
'Usage
Dim instance As HasStreamAttribute

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.