DataGridViewColumnHeaderCell.CreateAccessibilityInstance DataGridViewColumnHeaderCell.CreateAccessibilityInstance DataGridViewColumnHeaderCell.CreateAccessibilityInstance DataGridViewColumnHeaderCell.CreateAccessibilityInstance Method

定义

DataGridViewColumnHeaderCell 创建一个新的可访问对象。Creates a new accessible object for the DataGridViewColumnHeaderCell.

protected:
 override System::Windows::Forms::AccessibleObject ^ CreateAccessibilityInstance();
protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance ();
override this.CreateAccessibilityInstance : unit -> System.Windows.Forms.AccessibleObject
Protected Overrides Function CreateAccessibilityInstance () As AccessibleObject

返回

注解

如果不显式调用 CreateAccessibilityInstance 方法,则在引用 AccessibilityObject 属性时将会调用此方法。If you do not explicitly call the CreateAccessibilityInstance method, it will be called when the AccessibilityObject property is referenced.

备注

若要获取或AccessibilityObject设置, 你必须添加对随 .NET Framework Accessibility一起安装的程序集的引用。To get or set AccessibilityObject, you must add a reference to the Accessibility assembly installed with the .NET Framework.

适用于

另请参阅