ProjectPackage.TryGetGlobalService<S, I> Method
This class and its members are reserved for internal use and are not intended to be used in your code.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Shared Function TryGetGlobalService(Of S, I) As I
public static I TryGetGlobalService<S, I>()
public:
generic<typename S, typename I>
static I TryGetGlobalService()
static member TryGetGlobalService : unit -> 'I
JScript does not support generic types or methods.
Type Parameters
- S
- I
Return Value
Type: I
Service object, or null if service was not found.
.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.Package.Project.Internal Namespace