ProjectPackage.GetGlobalService<TServiceObject, TServiceType> Method
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Function GetGlobalService(Of TServiceObject, TServiceType) As TServiceType
'Usage
Dim returnValue As TServiceType
returnValue = ProjectPackage.GetGlobalService()
public static TServiceType GetGlobalService<TServiceObject, TServiceType>()
public:
generic<typename TServiceObject, typename TServiceType>
static TServiceType GetGlobalService()
JScript does not support generic types or methods.
static member GetGlobalService : unit -> 'TServiceType
Type Parameters
- TServiceObject
- TServiceType
Return Value
Type: TServiceType
.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.Project.MPF Namespace