次の方法で共有


ServiceProcessDescriptionAttribute クラス

定義

プロパティまたはイベントの説明を指定します。

public ref class ServiceProcessDescriptionAttribute : System::ComponentModel::DescriptionAttribute
[System.AttributeUsage(System.AttributeTargets.All)]
public class ServiceProcessDescriptionAttribute : System.ComponentModel.DescriptionAttribute
[<System.AttributeUsage(System.AttributeTargets.All)>]
type ServiceProcessDescriptionAttribute = class
    inherit DescriptionAttribute
Public Class ServiceProcessDescriptionAttribute
Inherits DescriptionAttribute
継承
ServiceProcessDescriptionAttribute
属性

注釈

ビジュアル デザイナーは、[プロパティ] ウィンドウなど、コンポーネント メンバーを参照するときに説明を表示できます。 Description プロパティにアクセスして、この属性に関連付けられているテキストを取得または設定します。

コンストラクター

名前 説明
ServiceProcessDescriptionAttribute(String)

指定した説明を使用して、 ServiceProcessDescriptionAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Description

サービス プロセスに関連付けられている説明テキストを取得します。

DescriptionValue

説明として格納される文字列を取得または設定します。

(継承元 DescriptionAttribute)
TypeId

派生クラスで実装されている場合は、この Attributeの一意の識別子を取得します。

(継承元 Attribute)

メソッド

名前 説明
Equals(Object)

指定したオブジェクトの値が現在の DescriptionAttributeと等しいかどうかを返します。

(継承元 DescriptionAttribute)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 DescriptionAttribute)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()

これが既定の DescriptionAttribute インスタンスであるかどうかを示す値を返します。

(継承元 DescriptionAttribute)
Match(Object)

派生クラスでオーバーライドされた場合、このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

明示的なインターフェイスの実装

名前 説明
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

一連の名前を対応する一連のディスパッチ識別子に割り当てます。

(継承元 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

インターフェイスの型情報を取得するために使用できるオブジェクトの型情報を取得します。

(継承元 Attribute)
_Attribute.GetTypeInfoCount(UInt32)

オブジェクトが提供する型情報インターフェイスの数 (0 または 1) を取得します。

(継承元 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

オブジェクトによって公開されるプロパティとメソッドへのアクセスを提供します。

(継承元 Attribute)

適用対象

こちらもご覧ください