ObjectSelectorEditor.FillTreeWithData 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
填入標記項目的階層式集合,每個項目皆由 TreeNode 表示。
protected:
virtual void FillTreeWithData(System::ComponentModel::Design::ObjectSelectorEditor::Selector ^ selector, System::ComponentModel::ITypeDescriptorContext ^ context, IServiceProvider ^ provider);
protected virtual void FillTreeWithData (System.ComponentModel.Design.ObjectSelectorEditor.Selector selector, System.ComponentModel.ITypeDescriptorContext context, IServiceProvider provider);
protected virtual void FillTreeWithData (System.ComponentModel.Design.ObjectSelectorEditor.Selector selector, System.ComponentModel.ITypeDescriptorContext? context, IServiceProvider provider);
abstract member FillTreeWithData : System.ComponentModel.Design.ObjectSelectorEditor.Selector * System.ComponentModel.ITypeDescriptorContext * IServiceProvider -> unit
override this.FillTreeWithData : System.ComponentModel.Design.ObjectSelectorEditor.Selector * System.ComponentModel.ITypeDescriptorContext * IServiceProvider -> unit
Protected Overridable Sub FillTreeWithData (selector As ObjectSelectorEditor.Selector, context As ITypeDescriptorContext, provider As IServiceProvider)
參數
- selector
- ObjectSelectorEditor.Selector
標記項目的階層式集合。
- context
- ITypeDescriptorContext
元件的內容資訊。
- provider
- IServiceProvider
這個介面的 GetService(Type) 方法,會取得提供服務的物件。