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 继承。) |
页首
注释
对于 开放式数据协议 (OData),称为媒体链接项的实体和二进制数据流是媒体资源。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
请参阅
参考
System.Data.Services.Common 命名空间