Heureka API .NET Documentation
GetDefault Method



Type of default control category to return
Gets the default ControlCategory from a project.
Syntax
'Declaration
 
Public Shared Function GetDefault( _
   ByVal project As IProject, _
   ByVal categoryType As ControlCategoryType _
) As ControlCategory
'Usage
 
Dim project As IProject
Dim categoryType As ControlCategoryType
Dim value As ControlCategory
 
value = ControlCategory.GetDefault(project, categoryType)
public static ControlCategory GetDefault( 
   IProject project,
   ControlCategoryType categoryType
)
public:
static ControlCategory^ GetDefault( 
   IProject^ project,
   ControlCategoryType categoryType
) 

Parameters

project
categoryType
Type of default control category to return

Return Value

First ControlCategory with default = true, or null if none found.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ControlCategory Class
ControlCategory Members

Send Feedback