AutomationTextAttribute.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / AutomationTextAttribute.cs / 1 / AutomationTextAttribute.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Identifier for Automation Text Attributes 
//
// History: 
//  06/02/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
 

using System; 
using MS.Internal.Automation; 

namespace System.Windows.Automation 
{
    /// 
    /// Identifier for Automation Text Attributes
    ///  
#if (INTERNAL_COMPILE)
    internal class AutomationTextAttribute: AutomationIdentifier 
#else 
    public class AutomationTextAttribute: AutomationIdentifier
#endif 
    {

        internal AutomationTextAttribute(int id, Guid guid, string programmaticName)
            : base(UiaCoreTypesApi.AutomationIdType.TextAttribute, id, guid, programmaticName) 
        {
        } 
 
        /// 
        ///  
        internal static AutomationTextAttribute Register(Guid guid, string programmaticName)
        {
            return (AutomationTextAttribute)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.TextAttribute, guid, programmaticName);
        } 

        ///  
        ///  
        public static AutomationTextAttribute LookupById(int id)
        { 
            return (AutomationTextAttribute)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.TextAttribute, id);
        }
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Identifier for Automation Text Attributes 
//
// History: 
//  06/02/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
 

using System; 
using MS.Internal.Automation; 

namespace System.Windows.Automation 
{
    /// 
    /// Identifier for Automation Text Attributes
    ///  
#if (INTERNAL_COMPILE)
    internal class AutomationTextAttribute: AutomationIdentifier 
#else 
    public class AutomationTextAttribute: AutomationIdentifier
#endif 
    {

        internal AutomationTextAttribute(int id, Guid guid, string programmaticName)
            : base(UiaCoreTypesApi.AutomationIdType.TextAttribute, id, guid, programmaticName) 
        {
        } 
 
        /// 
        ///  
        internal static AutomationTextAttribute Register(Guid guid, string programmaticName)
        {
            return (AutomationTextAttribute)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.TextAttribute, guid, programmaticName);
        } 

        ///  
        ///  
        public static AutomationTextAttribute LookupById(int id)
        { 
            return (AutomationTextAttribute)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.TextAttribute, id);
        }
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK