OleComponent Class
Microsoft internal use only.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.PlatformUI.DisposableObject
Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Class OleComponent _
Inherits DisposableObject _
Implements IOleComponent
public class OleComponent : DisposableObject,
IOleComponent
The OleComponent type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OleComponent | Microsoft internal use only. |
Top
Properties
Name | Description | |
---|---|---|
IsDisposed | Returns whether the object has been disposed once, which protects against double disposal. (Inherited from DisposableObject.) | |
IsTrackingComponent | Microsoft internal use only. | |
PeriodicIdleTimePeriod | Microsoft internal use only. |
Top
Methods
Name | Description | |
---|---|---|
BeginTracking | Microsoft internal use only. | |
CreateHostedComponent | Microsoft internal use only. | |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from DisposableObject.) | |
Dispose(Boolean) | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Standard virtual overload for IDisposable pattern. (Inherited from DisposableObject.) | |
DisposeManagedResources | Microsoft internal use only. (Overrides DisposableObject.DisposeManagedResources().) | |
DisposeNativeResources | Allows derived classes to provide custom dispose handling for native resources. (Inherited from DisposableObject.) | |
DoOleEvents | ||
EndTracking | Microsoft internal use only. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
FContinueMessageLoopCore | Microsoft internal use only. | |
FDoIdleCore | Microsoft internal use only. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from DisposableObject.) | |
FPreTranslateMessageCore | Microsoft internal use only. | |
FQueryTerminateCore | Microsoft internal use only. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HwndGetWindowCore | Microsoft internal use only. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnActivationChangeCore | Microsoft internal use only. | |
OnAppActivateCore | Microsoft internal use only. | |
OnChangeStateCore | Microsoft internal use only. | |
OnLoseActivationCore | Microsoft internal use only. | |
PushMessageLoop | Microsoft internal use only. | |
TerminateCore | Microsoft internal use only. | |
ThrowIfDisposed | Throws an ObjectDisposedException if this object has been disposed. (Inherited from DisposableObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
ActivationChange | Microsoft internal use only. | |
ActivationLost | Microsoft internal use only. | |
AppActivate | Microsoft internal use only. | |
ContinueMessageLoop | Microsoft internal use only. | |
Disposing | Raised when the event is being disposed, that is, while it is still accessible. (Inherited from DisposableObject.) | |
DoIdle | Microsoft internal use only. | |
DoPeriodicIdle | Microsoft internal use only. | |
GetWindow | Microsoft internal use only. | |
ModalStateChanged | Microsoft internal use only. | |
PreTranslateMessage | Microsoft internal use only. | |
QueryTerminate | Microsoft internal use only. | |
RecordingStateChanged | Microsoft internal use only. | |
RedrawOffStateChanged | Microsoft internal use only. | |
Terminate | Microsoft internal use only. | |
WarningsOffStateChanged | Microsoft internal use only. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IOleComponent.FContinueMessageLoop | Microsoft internal use only. | |
IOleComponent.FDoIdle | Microsoft internal use only. | |
IOleComponent.FPreTranslateMessage | Microsoft internal use only. | |
IOleComponent.FQueryTerminate | Microsoft internal use only. | |
IOleComponent.FReserved1 | Microsoft internal use only. | |
IOleComponent.HwndGetWindow | Microsoft internal use only. | |
IOleComponent.OnActivationChange | Microsoft internal use only. | |
IOleComponent.OnAppActivate | Microsoft internal use only. | |
IOleComponent.OnEnterState | Microsoft internal use only. | |
IOleComponent.OnLoseActivation | Microsoft internal use only. | |
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