RelatedImageListAttribute(String) Конструктор

Определение

Инициализирует новый экземпляр класса 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
String

Имя объекта ImageList, к которому относится свойство.

Комментарии

Параметр relatedImageList может ссылаться на свойство текущего объекта или свойство свойства текущего объекта. Например, если у вас есть ListViewItem объект со свойством ListView , имеющим значение содержащего ListView объекта, а содержащий ListView объект имеет SmallImageList свойство, можно передать "ListView.SmallImageList" в relatedImageList качестве значения.

Применяется к