BasePattern.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / UIAutomationClient / System / Windows / Automation / BasePattern.cs / 1 / BasePattern.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Client-side wrapper for Base Pattern 
//
// History: 
//  06/23/2003 : [....] Ported to WCP
//
//---------------------------------------------------------------------------
 
using System;
using System.Windows.Automation; 
using System.Diagnostics; 
using MS.Internal.Automation;
using System.Runtime.InteropServices; 

namespace System.Windows.Automation
{
    ///  
    /// Internal class
    ///  
#if (INTERNAL_COMPILE) 
    internal class BasePattern
#else 
    public class BasePattern
#endif
    {
        internal AutomationElement _el; 
        private SafePatternHandle _hPattern;
 
        internal BasePattern( AutomationElement el, SafePatternHandle hPattern ) 
        {
            Debug.Assert(el != null); 

            _el = el;
            _hPattern = hPattern;
        } 

        ///  
        /// Overrides Object.Finalize 
        /// 
        ~BasePattern() 
        {
            //
        }
    } 
}

// 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