AccessibleObject.IAccessible.get_accName(Object) 方法

定義

擷取指定之物件的名稱。Retrieves the name of the specified object.

 virtual System::String ^ Accessibility.IAccessible.get_accName(System::Object ^ childID) = Accessibility::IAccessible::get_accName;
string IAccessible.get_accName (object childID);
Function get_accName (childID As Object) As String Implements IAccessible.get_accName

參數

childID
Object

要擷取其名稱之可存取物件的 ID 編號。The ID number of the accessible object whose name is to be retrieved. 這個參數為 0 時,表示選取此物件;如果是子系 ID,則表示選取其中一個物件的子物件。This parameter is 0 to select the object, or a child ID to select one of the object's child objects.

傳回

指定之物件的名稱。The name of the specified object.

實作

Accessibility.IAccessible.get_accName(System.Object)

適用於