次の方法で共有


RibbonControlAutomationPeer.GetClassNameCore メソッド

この RibbonControlAutomationPeer に関連付けられている RibbonControl のクラス名を取得します。 このメソッドは GetClassName によって呼び出されます。

名前空間:  Microsoft.Windows.Automation.Peers
アセンブリ:  RibbonControlsLibrary (RibbonControlsLibrary.dll 内)

構文

'宣言
Protected Overrides Function GetClassNameCore As String
protected override string GetClassNameCore()
protected:
virtual String^ GetClassNameCore() override
abstract GetClassNameCore : unit -> string 
override GetClassNameCore : unit -> string 
protected override function GetClassNameCore() : String

戻り値

型: System.String
この RibbonControlAutomationPeer に関連付けられている RibbonControl のクラス名。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

RibbonControlAutomationPeer クラス

Microsoft.Windows.Automation.Peers 名前空間