HelperMethods.AccessKeySpecifierFromObject(Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This method is obsolete. Please use Microsoft.VisualStudio.Utilities.Accelerator.AccessKeySpecifierFromObject instead. You may need to add a reference to Microsoft.VisualStudio.Utilities.
将输入对象转换为访问键说明符。 可以转换 char 或单字符字符串类型的对象。 如果传入了不同类型的对象,则返回 &。
public:
static char AccessKeySpecifierFromObject(System::Object ^ accessKeySpecifier);
public:
static char16 AccessKeySpecifierFromObject(Platform::Object ^ accessKeySpecifier);
static char AccessKeySpecifierFromObject(winrt::Windows::Foundation::IInspectable const & accessKeySpecifier);
[System.Obsolete("This method is obsolete. Please use Microsoft.VisualStudio.Utilities.Accelerator.AccessKeySpecifierFromObject instead. You may need to add a reference to Microsoft.VisualStudio.Utilities.")]
public static char AccessKeySpecifierFromObject (object accessKeySpecifier);
[<System.Obsolete("This method is obsolete. Please use Microsoft.VisualStudio.Utilities.Accelerator.AccessKeySpecifierFromObject instead. You may need to add a reference to Microsoft.VisualStudio.Utilities.")>]
static member AccessKeySpecifierFromObject : obj -> char
Public Shared Function AccessKeySpecifierFromObject (accessKeySpecifier As Object) As Char
参数
- accessKeySpecifier
- Object
要转换的对象
返回
访问密钥说明符从 accessKeySpecifier
- 属性