UIElement3DAutomationPeer.GetItemTypeCore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回人們可讀取的 (Human-Readable) 字串,表示這個 UIElement3D 之 UIElement3DAutomationPeer 的項目型別。 這個方法是由 GetItemType() 所呼叫。
protected:
override System::String ^ GetItemTypeCore();
protected override string GetItemTypeCore ();
override this.GetItemTypeCore : unit -> string
Protected Overrides Function GetItemTypeCore () As String
傳回
字串,表示這個 UIElement3D 之 UIElement3DAutomationPeer 的項目型別。
備註
這個方法會 AutomationProperties.GetItemType 呼叫 方法來取得值。 AutomationProperties.GetItemType 只有在設定 屬性時, AutomationProperties.ItemType 才會傳回值。 您可以覆寫 GetItemTypeCore 和新增邏輯,以適合您 UIElement3D 的方式來提供專案類型。
UIElement3DAutomationPeer.NET Framework 3.5 版引進。 如需詳細資訊,請參閱版本和相依性。