Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

NamedStreamAttribute Class

Indicates that a class that is an entity type has a related named binary stream.

System.Object
  System.Attribute
    System.Data.Services.Common.NamedStreamAttribute

Namespace:  System.Data.Services.Common
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
public sealed class NamedStreamAttribute : Attribute

The NamedStreamAttribute type exposes the following members.

  NameDescription
Public methodNamedStreamAttributeCreates a new instance of the NamedStreamAttribute class.
Top
  NameDescription
Public propertyNameThe name of a binary stream that belongs to the attributed entity.
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 named binary data stream is a named 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. All rights reserved.