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.


Namespace:  System.Data.Services.Common
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True, AllowMultiple := False)> _
Public NotInheritable Class HasStreamAttribute _
	Inherits Attribute
Dim instance As HasStreamAttribute

The HasStreamAttribute type exposes the following members.

Public methodHasStreamAttributeCreates a new instance of the HasStreamAttribute class.
Public propertyTypeId (Inherited from Attribute.)
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.)

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
© 2014 Microsoft. All rights reserved.