Support.GetItemData(Control, Int32) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Dikkat
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
public:
static int GetItemData(System::Windows::Forms::Control ^ Control, int Index);
public static int GetItemData(System.Windows.Forms.Control Control, int Index);
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public static int GetItemData(System.Windows.Forms.Control Control, int Index);
static member GetItemData : System.Windows.Forms.Control * int -> int
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
static member GetItemData : System.Windows.Forms.Control * int -> int
Public Function GetItemData (Control As Control, Index As Integer) As Integer
Parametreler
- Index
- Int32
Integer dizinini ListBoxItemtemsil eden bir.
Döndürülenler
Integer Belirtilen ListBoxItemile ilişkili.
- Öznitelikler
Açıklamalar
Visual Basic 6.0'da, ItemData özelliği artık yoktur; GetItemData ve SetItemData yöntemleri, ItemData davranışını öykünmek için kullanılabilir.
Note
Microsoft.VisualBasic.Compatibility.VB6 ad alanı içindeki işlevler ve nesneler, Visual Basic 6.0'dan Visual Basic 2008'e yükseltme araçları tarafından kullanılabilir. Ç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.