サービス操作に使用される属性です。返される要素が 1 つだけであることを指定します。
継承階層
System.Object
System.Attribute
System.Data.Services.SingleResultAttribute
名前空間: System.Data.Services
アセンブリ: Microsoft.Data.Services (Microsoft.Data.Services.dll)
構文
'宣言
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class SingleResultAttribute _
Inherits Attribute
'使用
Dim instance As SingleResultAttribute
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public sealed class SingleResultAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false, Inherited = true)]
public ref class SingleResultAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = false, Inherited = true)>]
type SingleResultAttribute =
class
inherit Attribute
end
public final class SingleResultAttribute extends Attribute
SingleResultAttribute 型は、以下のメンバーを公開しています。
コンストラクター
| 名前 | 説明 | |
|---|---|---|
![]() |
SingleResultAttribute | SingleResultAttribute クラスの新しいインスタンスを初期化します。 |
先頭に戻る
プロパティ
| 名前 | 説明 | |
|---|---|---|
![]() |
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 から継承されています。) |
先頭に戻る
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
.gif)
.gif)
.gif)
.gif)
.gif)