Delen via


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

See Also

Reference

ProjectPackage Class

TryGetGlobalService Overload

Microsoft.VisualStudio.Data.Schema.Package.Project.Internal Namespace