ProjectPackage.TryGetGlobalService<S, I> 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 TryGetGlobalService(Of S, I) As I
'Usage
Dim returnValue As I
returnValue = ProjectPackage.TryGetGlobalService()
public static I TryGetGlobalService<S, I>()
public:
generic<typename S, typename I>
static I TryGetGlobalService()
JScript does not support generic types or methods.
static member TryGetGlobalService : unit -> 'I
Type Parameters
- S
- I
Return Value
Type: I
.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