Reference.Services Sample

This sample shows how to be a Visual Studio service provider and how to consume Visual Studio services.

 
 
 
 
 
(0)
4,957 times
Add to favorites
2/22/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

VB.NET
C#
C#, C++
'**************************************************************************

'Copyright (c) Microsoft Corporation. All rights reserved.
'This code is licensed under the Visual Studio SDK license terms.
'THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
'ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
'IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
'PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

'**************************************************************************


Imports Microsoft.VisualBasic
Imports System

Namespace Microsoft.Samples.VisualStudio.Services
	''' <summary>
	''' This class is used to expose the list of the IDs of the commands implemented
	''' by the client package. This list of IDs must match the set of IDs defined inside the
	''' Buttons section of the VSCT file.
	''' </summary>
	Friend Class ClientPkgCmdIDList
		' Define the list a set of public static members.
		Public Const cmdidClientGetGlobalService As Integer = &H2001
		Public Const cmdidClientGetLocalService As Integer = &H2002
		Public Const cmdidClientGetLocalUsingGlobal As Integer = &H2003
	End Class
End Namespace