| Visual Basic (Declaration) | |
|---|---|
Public Shared ReadOnly Property Favorites As RoutedUICommand  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim value As RoutedUICommand value = NavigationCommands.Favorites  | |
| C# | |
|---|---|
public static RoutedUICommand Favorites {get;}  | |
| Delphi | |
|---|---|
public read-only property Favorites: RoutedUICommand; static;  | |
| JScript | |
|---|---|
public static function get Favorites : RoutedUICommand  | |
| Managed Extensions for C++ | |
|---|---|
public: __property static RoutedUICommand* get_Favorites();  | |
| C++/CLI | |
|---|---|
public: static property RoutedUICommand^ Favorites { RoutedUICommand^ get(); }  | |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family