共用方式為


GlobalObjectService(IServiceProvider, Project, Type) Constructor

Definition

Initializes an new instance of the GlobalObjectService class

public:
 GlobalObjectService(IServiceProvider ^ provider, EnvDTE::Project ^ project, Type ^ serializerType);
public GlobalObjectService (IServiceProvider provider, EnvDTE.Project project, Type serializerType);
new Microsoft.VisualStudio.Shell.Design.GlobalObjectService : IServiceProvider * EnvDTE.Project * Type -> Microsoft.VisualStudio.Shell.Design.GlobalObjectService
Public Sub New (provider As IServiceProvider, project As Project, serializerType As Type)

Parameters

provider
IServiceProvider

The IServiceProvider that will be used to obtain other services.

project
Project

The Project associated with this global object service.

serializerType
Type

The serializer Type supported by the current designer loader.

Exceptions

One or more of the parameters is null.

Applies to