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) 方法,用于获取提供服务的对象。