IWebActionable.Verbs プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IWebActionable.Verbs プロパティの意味・解説 

IWebActionable.Verbs プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

カスタムの WebPartVerb オブジェクトコレクションへの参照取得します

名前空間: System.Web.UI.WebControls.WebParts
アセンブリ: System.Web (system.web.dll 内)
構文構文

ReadOnly Property Verbs As
 WebPartVerbCollection
Dim instance As IWebActionable
Dim value As WebPartVerbCollection

value = instance.Verbs
WebPartVerbCollection Verbs { get; }
property WebPartVerbCollection^ Verbs {
    WebPartVerbCollection^ get ();
}
/** @property */
WebPartVerbCollection get_Verbs ()
function get Verbs () : WebPartVerbCollection

プロパティ
カスタムWebPartVerb オブジェクト格納している WebPartVerbCollection。

解説解説
使用例使用例

ユーザー コントロール実装される Verbs プロパティ使用するコード例次に示します。このコード例の完全なコードは、IWebActionable クラス概要トピックの「例」にあります

コード例の以下の部分は、ユーザー コントロール内の Verbs プロパティカスタム実装示してます。

' This property implements the IWebActionable interface.
ReadOnly Property Verbs() As
 WebPartVerbCollection _
  Implements IWebActionable.Verbs
  Get
    If (m_Verbs Is Nothing)
 Then
      Dim verbsList As New
 ArrayList()
      Dim onlyVerb As New
 WebPartVerb _
        ("customVerb1", New WebPartEventHandler(AddressOf
 IncrementVerbCounterClicks))
      onlyVerb.Text = "My Verb"
      onlyVerb.Description = "VerbTooltip"
      onlyVerb.Visible = True
      onlyVerb.Enabled = True
      verbsList.Add(onlyVerb)
      Dim otherVerb As New
 WebPartVerb _
        ("customVerb2", New WebPartEventHandler(AddressOf
 IncrementVerbCounterClicks))
      otherVerb.Text = "My other Verb"
      otherVerb.Description = "Other VerbTooltip"
      otherVerb.Visible = True
      otherVerb.Enabled = True
      verbsList.Add(otherVerb)
      m_Verbs = New WebPartVerbCollection(verbsList)
    End If
    Return m_Verbs
  End Get
End Property
// This property implements the IWebActionable interface.
WebPartVerbCollection IWebActionable.Verbs
{
  get
  {
    if (m_Verbs == null)
    {
      ArrayList verbsList = new ArrayList();
      WebPartVerb onlyVerb = new WebPartVerb
        ("customVerb1", new WebPartEventHandler(IncrementVerbCounterClicks));
      onlyVerb.Text = "My Verb";
      onlyVerb.Description = "VerbTooltip";
      onlyVerb.Visible = true;
      onlyVerb.Enabled = true;
      verbsList.Add(onlyVerb);
      WebPartVerb otherVerb = new WebPartVerb
        ("customVerb2", new WebPartEventHandler(IncrementVerbCounterClicks));
      otherVerb.Text = "My other Verb";
      otherVerb.Description = "Other VerbTooltip";
      otherVerb.Visible = true;
      otherVerb.Enabled = true;
      verbsList.Add(otherVerb);
      m_Verbs = new WebPartVerbCollection(verbsList);
      return m_Verbs;
    }
    return m_Verbs;
  }
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IWebActionable インターフェイス
IWebActionable メンバ
System.Web.UI.WebControls.WebParts 名前空間
Verbs
GenericWebPart.Verbs プロパティ
その他の技術情報
ASP.NET Web パーツ ページ


このページでは「.NET Framework クラス ライブラリ リファレンス」からIWebActionable.Verbs プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からIWebActionable.Verbs プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からIWebActionable.Verbs プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「IWebActionable.Verbs プロパティ」の関連用語

IWebActionable.Verbs プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IWebActionable.Verbs プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS