共用方式為


HasStreamAttribute 類別

表示實體類型的類別有一個預設的二進位資料流。

繼承階層

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

命名空間:  System.Data.Services.Common
組件:  Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)

語法

'宣告
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True, AllowMultiple := False)> _
Public NotInheritable Class HasStreamAttribute _
    Inherits Attribute
'用途
Dim instance As HasStreamAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public sealed class HasStreamAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true, AllowMultiple = false)]
public ref class HasStreamAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)>]
type HasStreamAttribute =  
    class
        inherit Attribute
    end
public final class HasStreamAttribute extends Attribute

HasStreamAttribute 型別公開下列成員。

建構函式

  名稱 說明
公用方法 HasStreamAttribute 建立 HasStreamAttribute 類別的新執行個體。

上層

屬性

  名稱 說明
公用屬性 TypeId (繼承自 Attribute。)

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Attribute。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Attribute。)
公用方法 GetType (繼承自 Object。)
公用方法 IsDefaultAttribute (繼承自 Attribute。)
公用方法 Match (繼承自 Attribute。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 _Attribute.GetIDsOfNames (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.GetTypeInfo (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.GetTypeInfoCount (繼承自 Attribute。)
明確介面實作私用方法 _Attribute.Invoke (繼承自 Attribute。)

上層

備註

就 Open Data Protocol (OData) 而言,實體是所謂的「媒體連結項目」(Media Link Entry),而二進位資料流則是「媒體資源」(Media Resource)。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

System.Data.Services.Common 命名空間

其他資源

使用二進位資料 (WCF Data Services)