DataGridViewCell.CreateAccessibilityInstance DataGridViewCell.CreateAccessibilityInstance DataGridViewCell.CreateAccessibilityInstance DataGridViewCell.CreateAccessibilityInstance Method

定義

DataGridViewCell 建立新的可存取物件。Creates a new accessible object for the DataGridViewCell.

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

傳回

備註

如果沒有明確呼叫 CreateAccessibilityInstance 方法,將會在參考 AccessibilityObject 屬性時呼叫該方法。If you do not explicitly call the CreateAccessibilityInstance method, it will be called when the AccessibilityObject property is referenced.

注意

若要取得或AccessibilityObject設定,您必須將參考加入與Accessibility一起.NET Framework.NET Framework安裝的元件。To get or set AccessibilityObject, you must add a reference to the Accessibility assembly installed with the .NET Framework.NET Framework.

適用於

另請參閱