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 屬性,則可以傳遞 "ListView.SmallImageList"
做為 relatedImageList
值。