VsShellUtilities.ToDpiContext(__VSDPIMODE) Metodo

Definizione

Converte __VSDPIMODE in DpiAwarenessContext. Se viene specificato un oggetto non supportato o sconosciuto __VSDPIMODE , questo metodo genererà un'operazione NotSupportedException .

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Utilities::DpiAwarenessContext ToDpiContext(Microsoft::VisualStudio::Shell::Interop::__VSDPIMODE mode);
public static Microsoft.VisualStudio.Utilities.DpiAwarenessContext ToDpiContext (this Microsoft.VisualStudio.Shell.Interop.__VSDPIMODE mode);
static member ToDpiContext : Microsoft.VisualStudio.Shell.Interop.__VSDPIMODE -> Microsoft.VisualStudio.Utilities.DpiAwarenessContext
<Extension()>
Public Function ToDpiContext (mode As __VSDPIMODE) As DpiAwarenessContext

Parametri

Restituisce

DpiAwarenessContext

Si applica a