ITextRangeProvider.GetChildren 方法

定義

擷取文字範圍內所有內嵌物件的集合。

public:
 cli::array <System::Windows::Automation::Provider::IRawElementProviderSimple ^> ^ GetChildren();
public System.Windows.Automation.Provider.IRawElementProviderSimple[] GetChildren ();
abstract member GetChildren : unit -> System.Windows.Automation.Provider.IRawElementProviderSimple[]
Public Function GetChildren () As IRawElementProviderSimple()

傳回

IRawElementProviderSimple[]

範圍內子物件的集合。 如果子系與文字範圍重疊,但未被範圍完全圍住,則也會包含在集合中。

如果沒有子物件,則傳回空集合。

適用於