Compartilhar via


OleComponent Class

Microsoft internal use only.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.PlatformUI.DisposableObject
    Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent

Namespace:  Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Class OleComponent _
    Inherits DisposableObject _
    Implements IOleComponent
public class OleComponent : DisposableObject, 
    IOleComponent
public ref class OleComponent : public DisposableObject, 
    IOleComponent
type OleComponent =  
    class 
        inherit DisposableObject 
        interface IOleComponent 
    end
public class OleComponent extends DisposableObject implements IOleComponent

The OleComponent type exposes the following members.

Constructors

  Name Description
Public method OleComponent Microsoft internal use only.

Top

Properties

  Name Description
Public property IsDisposed Returns whether the object has been disposed once, which protects against double disposal. (Inherited from DisposableObject.)
Public property IsTrackingComponent Microsoft internal use only.
Public property PeriodicIdleTimePeriod Microsoft internal use only.

Top

Methods

  Name Description
Public method BeginTracking Microsoft internal use only.
Public methodStatic member CreateHostedComponent Microsoft internal use only.
Public method Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from DisposableObject.)
Protected method Dispose(Boolean) Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Standard virtual overload for IDisposable pattern. (Inherited from DisposableObject.)
Protected method DisposeManagedResources Microsoft internal use only. (Overrides DisposableObject.DisposeManagedResources().)
Protected method DisposeNativeResources Allows derived classes to provide custom dispose handling for native resources. (Inherited from DisposableObject.)
Public methodStatic member DoOleEvents
Public method EndTracking Microsoft internal use only.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method FContinueMessageLoopCore Microsoft internal use only.
Protected method FDoIdleCore Microsoft internal use only.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from DisposableObject.)
Protected method FPreTranslateMessageCore Microsoft internal use only.
Protected method FQueryTerminateCore Microsoft internal use only.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HwndGetWindowCore Microsoft internal use only.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnActivationChangeCore Microsoft internal use only.
Protected method OnAppActivateCore Microsoft internal use only.
Protected method OnChangeStateCore Microsoft internal use only.
Protected method OnLoseActivationCore Microsoft internal use only.
Public method PushMessageLoop Microsoft internal use only.
Protected method TerminateCore Microsoft internal use only.
Protected method ThrowIfDisposed Throws an ObjectDisposedException if this object has been disposed. (Inherited from DisposableObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event ActivationChange Microsoft internal use only.
Public event ActivationLost Microsoft internal use only.
Public event AppActivate Microsoft internal use only.
Public event ContinueMessageLoop Microsoft internal use only.
Public event Disposing Raised when the event is being disposed, that is, while it is still accessible. (Inherited from DisposableObject.)
Public event DoIdle Microsoft internal use only.
Public event DoPeriodicIdle Microsoft internal use only.
Public event GetWindow Microsoft internal use only.
Public event ModalStateChanged Microsoft internal use only.
Public event PreTranslateMessage Microsoft internal use only.
Public event QueryTerminate Microsoft internal use only.
Public event RecordingStateChanged Microsoft internal use only.
Public event RedrawOffStateChanged Microsoft internal use only.
Public event Terminate Microsoft internal use only.
Public event WarningsOffStateChanged Microsoft internal use only.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IOleComponent.FContinueMessageLoop Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.FDoIdle Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.FPreTranslateMessage Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.FQueryTerminate Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.FReserved1 Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.HwndGetWindow Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.OnActivationChange Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.OnAppActivate Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.OnEnterState Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.OnLoseActivation Microsoft internal use only.
Explicit interface implemetationPrivate method IOleComponent.Terminate Microsoft internal use only.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace