Udostępnij za pośrednictwem


IEntryPoint Members (2007 System)

Include Protected Members
Include Inherited Members

Provides a handle to the add-in for the host application, enables you to provide discrete initialization steps for an add-in, and enables you to release resources when an add-in shuts down.

The IEntryPoint type exposes the following members.

Methods

 

Name

Description

Public method

FinishInitialization

When implemented in a derived class, this method performs initializations that can only be completed after the InitializeDataBindings method has been called.

Public method

Initialize

When implemented in a derived class, this method supplies you with a handle to the host application's IServiceProvider, which can be used to query the host application's object model.

Public method

InitializeDataBindings

When implemented in a derived class, this method performs initializations that can only happen after the Initialize method has been called.

Public method

OnShutdown

When implemented in a derived class, this method performs operations that need to be completed before the add-in shuts down.

Top

See Also

Reference

IEntryPoint Interface

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace