RemoteComponent.GetService Method (2007 System)
This API supports the Visual Studio Tools for Office infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.Tools.Office
Assembly: Microsoft.Office.Tools.v9.0 (in Microsoft.Office.Tools.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Protected Overridable Function GetService ( _
service As Type _
) As Object
'Usage
Dim service As Type
Dim returnValue As Object
returnValue = Me.GetService(service)
[BrowsableAttribute(false)]
protected virtual Object GetService(
Type service
)
[BrowsableAttribute(false)]
protected:
virtual Object^ GetService(
Type^ service
)
protected function GetService(
service : Type
) : Object
Parameters
- service
Type: System.Type
Return Value
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.