DataGridViewRow.CreateAccessibilityInstance 方法

定义

DataGridViewRow 创建一个新的可访问对象。

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

返回

AccessibleObject

DataGridViewRow.DataGridViewRowAccessibleObject 的新 DataGridViewRow

注解

如果不显式调用 CreateAccessibilityInstance 方法,则在引用 AccessibilityObject 属性时将会调用此方法。

备注

若要获取或设置AccessibilityObject,必须添加对Accessibility随.NET Framework一起安装的程序集的引用。

适用于

另请参阅