MenuCommandService.GetService メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > MenuCommandService.GetService メソッドの意味・解説 

MenuCommandService.GetService メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

要求されサービスへの参照取得します

名前空間: System.ComponentModel.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

Protected Function GetService ( _
    serviceType As Type _
) As Object
Dim serviceType As Type
Dim returnValue As Object

returnValue = Me.GetService(serviceType)
protected Object GetService (
    Type serviceType
)
protected:
Object^ GetService (
    Type^ serviceType
)
protected Object GetService (
    Type serviceType
)
protected function GetService (
    serviceType : Type
) : Object

パラメータ

serviceType

取得するサービスType

戻り値
serviceType への参照サービスが見つからない場合null 参照 (Visual Basic では Nothing)。

例外例外
例外種類条件

ArgumentNullException

serviceTypenull 参照 (Visual Basic では Nothing) です。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
MenuCommandService クラス
MenuCommandService メンバ
System.ComponentModel.Design 名前空間
MenuCommand クラス
DesignerVerb クラス
CommandID クラス
IServiceProvider



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

辞書ショートカット

すべての辞書の索引

MenuCommandService.GetService メソッドのお隣キーワード
検索ランキング

   

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



MenuCommandService.GetService メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS