System.Windows.Automation.ControlType.Register C# (CSharp) Method

Register() static private method

static private Register ( System.Guid guid, string programmaticName ) : ControlType
guid System.Guid
programmaticName string
return ControlType
        internal static ControlType Register(Guid guid, string programmaticName)
        {
            return (ControlType)AutomationIdentifier.Register(UiaCoreIds.AutomationIdType.ControlType, guid, programmaticName);
        }

Same methods

ControlType::Register ( System.Guid guid, string programmaticName, AutomationPattern requiredPatternsSets ) : ControlType
ControlType::Register ( System.Guid guid, string programmaticName, AutomationProperty requiredProperties ) : ControlType
ControlType::Register ( System.Guid guid, string programmaticName, AutomationProperty requiredProperties, AutomationPattern neverSupportedPatterns, AutomationPattern requiredPatternsSets ) : ControlType

Usage Example

Exemplo n.º 1
0
 internal static ControlType Register(Guid guid, string programmaticName, STID stId)
 {
     return(ControlType.Register(guid, programmaticName, stId, new AutomationProperty[0], new AutomationPattern[0], new AutomationPattern[0][]));
 }
All Usage Examples Of System.Windows.Automation.ControlType::Register