HelperMethods.AccessKeySpecifierFromObject(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This method is obsolete. Please use Microsoft.VisualStudio.Utilities.Accelerator.AccessKeySpecifierFromObject instead. You may need to add a reference to Microsoft.VisualStudio.Utilities.
Converts the input object into an access key specifier. Objects of type char or single-character strings can be converted. If an object of a different type is passed in, & is returned.
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
Parameters
- accessKeySpecifier
- Object
Object to convert
Returns
Access key specifier from accessKeySpecifier
- Attributes