Version

UIRoleDefinition Constructor(String,String,RoleState,SupportedRoleProperties)

Initializes a new UIRoleDefinition
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal baseRole As String, _
   ByVal states As RoleState, _
   ByVal supportedProperties As SupportedRoleProperties _
)
public UIRoleDefinition( 
   string name,
   string baseRole,
   RoleState states,
   SupportedRoleProperties supportedProperties
)

Parameters

name
Name of the role being defined.
baseRole
Name of the parent role.
states
Flagged enumerating indicating the state for which the role will be used.
supportedProperties
Flagged enumeration indicating which roles are supported by the role being defined
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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