BaseEditorFactory.GetService Method
Returns the service object of the specified service type.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Function GetService ( _
serviceType As Type _
) As Object
'Usage
Dim instance As BaseEditorFactory
Dim serviceType As Type
Dim returnValue As Object
returnValue = instance.GetService(serviceType)
public Object GetService(
Type serviceType
)
public:
Object^ GetService(
Type^ serviceType
)
public function GetService(
serviceType : Type
) : Object
member GetService :
serviceType:Type -> Object
Parameters
- serviceType
Type: System.Type
The service 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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace