Metodo IShellDispatch.TrayProperties

Visualizza la finestra di dialogo Proprietà menu Start e barra delle applicazioni . Questo metodo ha lo stesso effetto di fare clic con il pulsante destro del mouse sulla barra delle applicazioni e selezionare Proprietà.

Sintassi

IShellDispatch.TrayProperties()

IShellDispatch.TrayProperties()

Parametri

Questo metodo non presenta parametri.

Valore restituito

JScript

Questo metodo non restituisce valori.

VB

Questo metodo non restituisce valori.

Commenti

Questo metodo viene implementato e accessibile tramite il metodo Shell.TrayProperties .

Esempio

Negli esempi seguenti viene illustrato l'uso di TrayProperties in JScript, VBScript e Visual Basic.

Jscript:

<script language="JScript">
    function fnShellTrayPropertiesJ()
    {
        var objShell = new ActiveXObject("shell.application");
        
        objshell.TrayProperties();
    }
</script>

Vbscript:

<script language="VBScript">
    function fnShellTrayPropertiesVB()
        dim objShell
        
        set objShell = CreateObject("shell.application")
        objshell.TrayProperties

        set objShell = nothing
    end function
 </script>

Visual Basic:

Private Sub fnShellTrayPropertiesVB()
    Dim objShell As Shell
    
    Set objShell = New Shell
    objshell.TrayProperties

    Set objShell = Nothing
End Sub

Requisiti

Requisito Valore
Client minimo supportato
Windows 2000 Professional, Windows XP [solo app desktop]
Server minimo supportato
Windows 2000 Server [solo app desktop]
Intestazione
Shldisp.h
IDL
Shldisp.idl
DLL
Shell32.dll (versione 4.71 o successiva)