RelatedImageListAttribute(String) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 RelatedImageListAttribute 类的新实例。
public:
RelatedImageListAttribute(System::String ^ relatedImageList);
public RelatedImageListAttribute (string relatedImageList);
new System.Windows.Forms.RelatedImageListAttribute : string -> System.Windows.Forms.RelatedImageListAttribute
Public Sub New (relatedImageList As String)
参数
注解
该 relatedImageList
参数可以引用当前对象的属性,也可以引用当前对象的属性。 例如,如果你有一个ListViewItem对象,其ListView属性设置为包含ListView对象,并且包含ListView的对象具有一个SmallImageList属性,则可以作为relatedImageList
值传递"ListView.SmallImageList"
。