GroupBox.CreateAccessibilityInstance 方法

定義

GroupBox 建立新的協助工具物件。Creates a new accessibility object for the GroupBox.

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

傳回

範例

如需如何使用 GroupBox.CreateAccessibilityInstance 方法的範例,請參閱 Control.CreateAccessibilityInstance 方法。See the Control.CreateAccessibilityInstance method for an example of how to use the GroupBox.CreateAccessibilityInstance method.

備註

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

適用於