RichTextBox.CreateRichEditOleCallback RichTextBox.CreateRichEditOleCallback RichTextBox.CreateRichEditOleCallback RichTextBox.CreateRichEditOleCallback Method

定义

创建用于处理 Rich Edit 回调操作的 IRichEditOleCallback 兼容对象。Creates an IRichEditOleCallback-compatible object for handling rich-edit callback operations.

protected:
 virtual System::Object ^ CreateRichEditOleCallback();
protected virtual object CreateRichEditOleCallback ();
abstract member CreateRichEditOleCallback : unit -> obj
override this.CreateRichEditOleCallback : unit -> obj
Protected Overridable Function CreateRichEditOleCallback () As Object

返回

一个实现 IRichEditOleCallback 接口的对象。An object that implements the IRichEditOleCallback interface.

继承者说明

可以在派生类中重写此方法,以启用对基础丰富编辑功能的访问。You can override this method in your derived class to enable access to the underlying rich-edit features. 如果重写此方法,则不会引发所有拖放事件。If you override this method, all drag-and-drop events will not be raised. 因此,你必须为拖放操作提供自己的支持。As a result, you will have to provide your own support for drag-and-drop operations. 有关IRichEditOleCallback接口的详细信息,请参阅中的平台 SDK http://msdn.microsoft.com文档。For more information about the IRichEditOleCallback interface, see the Platform SDK documentation at http://msdn.microsoft.com.

安全性

SecurityPermission
供直接调用方调用非托管代码。for the immediate caller to call unmanaged code. 关联的枚举:UnmanagedCodeAssociated enumeration: UnmanagedCode

适用于