Visual Basic (Declaration) | |
---|---|
Protected Overrides Function CreateInstance( _ ByVal itemType As Type _ ) As Object |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SpreadChartCollectionEditor Dim itemType As Type Dim value As Object value = instance.CreateInstance(itemType) |
Parameters
- itemType
- The type of item to create.
Return Value
A new instance of the specified object.Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6