ListBoxHost Constructor
Initializes a new instance of the ListBoxHost class.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Sub New ( _
values As String(), _
setValueFunction As ListBoxHost..::..SetValueCallback, _
target As Object _
)
'Usage
Dim values As String()
Dim setValueFunction As ListBoxHost..::..SetValueCallback
Dim target As Object
Dim instance As New ListBoxHost(values, _
setValueFunction, target)
public ListBoxHost(
string[] values,
ListBoxHost..::..SetValueCallback setValueFunction,
Object target
)
public:
ListBoxHost(
array<String^>^ values,
ListBoxHost..::..SetValueCallback^ setValueFunction,
Object^ target
)
public function ListBoxHost(
values : String[],
setValueFunction : ListBoxHost..::..SetValueCallback,
target : Object
)
new :
values:string[] *
setValueFunction:ListBoxHost..::..SetValueCallback *
target:Object -> ListBoxHost
Parameters
- values
Type: array<System.String[]
The array of values
- setValueFunction
Type: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport.ListBoxHost.SetValueCallback
The set value callback
- target
Type: System.Object
The target
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport Namespace