BCGControlBar Library for .NET
GetService Method (CommandBar)




The type of service to retrieve
Gets the requested service
Syntax
'Declaration
 
Public Overrides Function GetService( _
   ByVal serviceType As Type _
) As Object
'Usage
 
Dim instance As CommandBar
Dim serviceType As Type
Dim value As Object
 
value = instance.GetService(serviceType)
public override object GetService( 
   Type serviceType
)
public: Object* GetService( 
   Type* serviceType
) override 
public:
Object^ GetService( 
   Type^ serviceType
) override 

Parameters

serviceType
The type of service to retrieve
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandBar Class
CommandBar Members
Base Implementation in GetService

Send Feedback