共用方式為


Accelerator.AccessKeySpecifierFromObject(Object) 方法

定義

將輸入物件轉換成訪問鍵規範。 char 或單一字元字串類型的物件可以轉換。 如果傳入不同類型的物件,則會傳回 &。

public:
 static char AccessKeySpecifierFromObject(System::Object ^ accessKeySpecifier);
public:
 static char16 AccessKeySpecifierFromObject(Platform::Object ^ accessKeySpecifier);
 static char AccessKeySpecifierFromObject(winrt::Windows::Foundation::IInspectable const & accessKeySpecifier);
public static char AccessKeySpecifierFromObject (object accessKeySpecifier);
static member AccessKeySpecifierFromObject : obj -> char
Public Shared Function AccessKeySpecifierFromObject (accessKeySpecifier As Object) As Char

參數

accessKeySpecifier
Object

要轉換的物件

傳回

從存取金鑰規範 accessKeySpecifier

適用於