AutomationProperty.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 / AutomationProperty.cs / 1 / AutomationProperty.cs

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

using System; 
using MS.Internal.Automation; 

namespace System.Windows.Automation 
{
    /// 
    /// Identifier for Automation Properties
    ///  
#if (INTERNAL_COMPILE)
    internal class AutomationProperty: AutomationIdentifier 
#else 
    public class AutomationProperty: AutomationIdentifier
#endif 
    {
        internal AutomationProperty(int id, Guid guid, string programmaticName)
            : base(UiaCoreTypesApi.AutomationIdType.Property, id, guid, programmaticName)
        { 
        }
 
        ///  
        /// 
        internal static AutomationProperty Register(Guid guid, string programmaticName) 
        {
            return (AutomationProperty)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Property, guid, programmaticName);
        }
 

        ///  
        ///  
        public static AutomationProperty LookupById(int id)
        { 
            return (AutomationProperty)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.Property, 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 Properties 
//
// History: 
//  06/02/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
 

using System; 
using MS.Internal.Automation; 

namespace System.Windows.Automation 
{
    /// 
    /// Identifier for Automation Properties
    ///  
#if (INTERNAL_COMPILE)
    internal class AutomationProperty: AutomationIdentifier 
#else 
    public class AutomationProperty: AutomationIdentifier
#endif 
    {
        internal AutomationProperty(int id, Guid guid, string programmaticName)
            : base(UiaCoreTypesApi.AutomationIdType.Property, id, guid, programmaticName)
        { 
        }
 
        ///  
        /// 
        internal static AutomationProperty Register(Guid guid, string programmaticName) 
        {
            return (AutomationProperty)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Property, guid, programmaticName);
        }
 

        ///  
        ///  
        public static AutomationProperty LookupById(int id)
        { 
            return (AutomationProperty)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.Property, 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