다음을 통해 공유


ListBoxItem 클래스

정의

주의

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

ListBox Visual Basic 6.0에서 업그레이드된 애플리케이션의 항목 또는 ComboBox 컨트롤을 나타냅니다.

public ref class ListBoxItem
public class ListBoxItem
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public class ListBoxItem
type ListBoxItem = class
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type ListBoxItem = class
Public Class ListBoxItem
상속
ListBoxItem
특성

설명

Visual Basic 6.0 ListBox 에서 컨트롤은 ComboBox 속성을 사용하여 List 목록 항목과 속성을 저장하여 ItemData 필요에 따라 각 목록 항목과 연결된 항목을 저장 Integer 합니다. Visual Basic ListBox 에서 컨트롤은 ComboBox 이 속성을 사용하여 Items 목록 항목을 저장하며 ItemData 속성은 더 이상 지원되지 않습니다.

Visual Basic 6.0 애플리케이션이 Visual Basic으로 업그레이드되면 업그레이드 도구는 A 또는 ComboBox 컨트롤의 각 항목에 대한 클래스를 ListBox 만듭니 ListBoxItem 다. 그런 다음, SetItemData 함수 및 GetItemData 함수를 사용하여 속성을 참조하는 모든 코드를 사용하도록 설정할 수 있습니다 ItemData .

메모

네임스페이 Microsoft.VisualBasic.Compatibility.VB6 스의 함수 및 개체는 Visual Basic 6.0에서 Visual Basic 2008로 업그레이드하기 위한 도구에서 사용할 수 있도록 제공됩니다. 대부분의 경우 이러한 함수와 개체는 .NET Framework의 다른 네임스페이스에서 찾을 수 있는 기능을 복제합니다. Visual Basic 6.0 코드 모델이 .NET Framework 구현과 크게 다른 경우에만 필요합니다.

생성자

Name Description
ListBoxItem(String, Int32)
사용되지 않음.

클래스의 인스턴스를 초기화합니다 ListBoxItem .

ListBoxItem(String)
사용되지 않음.

클래스의 인스턴스를 초기화합니다 ListBoxItem .

필드

Name Description
ItemData
사용되지 않음.

ItemData Visual Basic 6.0에서 ListBox 업그레이드된 애플리케이션의 항목 또는 ComboBox 컨트롤에 대한 값을 저장합니다.

ItemString
사용되지 않음.

List Visual Basic 6.0에서 ListBox 업그레이드된 애플리케이션의 항목 또는 ComboBox 컨트롤에 대한 값을 저장합니다.

메서드

Name Description
Equals(Object)
사용되지 않음.

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()
사용되지 않음.

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()
사용되지 않음.

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()
사용되지 않음.

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()
사용되지 않음.

ListBoxItemString로 변환합니다.

적용 대상