Compartir a través de


HelperMethods.AccessKeySpecifierFromObject(Object) Método

Definición

Precaución

This method is obsolete. Please use Microsoft.VisualStudio.Utilities.Accelerator.AccessKeySpecifierFromObject instead. You may need to add a reference to Microsoft.VisualStudio.Utilities.

Convierte el objeto de entrada en un especificador de clave de acceso. Los objetos de tipo char o cadenas de un solo carácter se pueden convertir. Si se pasa un objeto de un tipo diferente, se devuelve &.

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

Parámetros

accessKeySpecifier
Object

Objeto que se va a convertir

Devoluciones

Especificador de clave de acceso desde accessKeySpecifier

Atributos

Se aplica a