Aracılığıyla paylaş


Support.SetItemString(Control, Int32, String) Yöntem

Tanım

Dikkat

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

ItemString bir ListBoxItemiçin özelliğini ayarlar.

public:
 static void SetItemString(System::Windows::Forms::Control ^ Control, int Index, System::String ^ ItemString);
public static void SetItemString(System.Windows.Forms.Control Control, int Index, string ItemString);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static void SetItemString(System.Windows.Forms.Control Control, int Index, string ItemString);
static member SetItemString : System.Windows.Forms.Control * int * string -> unit
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member SetItemString : System.Windows.Forms.Control * int * string -> unit
Public Sub SetItemString (Control As Control, Index As Integer, ItemString As String)

Parametreler

Control
Control

Bir ListBoxListBox veya ComboBox denetim.

Index
Int32

Index ListBoxItem.

ItemString
String

String Özelliğine atanacak AItemString.

Öznitelikler

Açıklamalar

Bu işlev, Visual Basic 6.0 List özelliğini öykünmek için yükseltme araçları tarafından kullanılır. Visual Basic'te bunun yerine or Items özelliğini kullanınItems.

Uyarı

Ad alanı içindeki Microsoft.VisualBasic.Compatibility.VB6 işlevler ve nesneler, Visual Basic 6.0'dan Visual Basic 2008'e yükseltme araçları tarafından kullanılmak üzere sağlanır. Çoğu durumda, bu işlevler ve nesneler .NET Framework'teki diğer ad alanlarına bulabileceğiniz işlevleri yineler. Bunlar yalnızca Visual Basic 6.0 kod modeli .NET Framework uygulamasından önemli ölçüde farklı olduğunda gereklidir.

Şunlara uygulanır