Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / AutomationPattern.cs / 1 / AutomationPattern.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Identifier for Automation Patterns // // History: // 06/02/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Identifier for Automation Patterns /// #if (INTERNAL_COMPILE) internal class AutomationPattern: AutomationIdentifier #else public class AutomationPattern: AutomationIdentifier #endif { internal AutomationPattern(int id, Guid guid, string programmaticName) : base(UiaCoreTypesApi.AutomationIdType.Pattern, id, guid, programmaticName) { } ////// internal static AutomationPattern Register(Guid guid, string programmaticName) { return (AutomationPattern)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Pattern, guid, programmaticName); } ////// public static AutomationPattern LookupById(int id) { return (AutomationPattern)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.Pattern, 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 Patterns // // History: // 06/02/2003 : BrendanM Ported to WCP // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Identifier for Automation Patterns /// #if (INTERNAL_COMPILE) internal class AutomationPattern: AutomationIdentifier #else public class AutomationPattern: AutomationIdentifier #endif { internal AutomationPattern(int id, Guid guid, string programmaticName) : base(UiaCoreTypesApi.AutomationIdType.Pattern, id, guid, programmaticName) { } ////// internal static AutomationPattern Register(Guid guid, string programmaticName) { return (AutomationPattern)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Pattern, guid, programmaticName); } ////// public static AutomationPattern LookupById(int id) { return (AutomationPattern)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.Pattern, id); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IItemProperties.cs
- StrokeCollectionConverter.cs
- UIElement.cs
- AvTraceFormat.cs
- StyleXamlTreeBuilder.cs
- RevocationPoint.cs
- DrawingDrawingContext.cs
- FixedSOMLineCollection.cs
- SchemaElementLookUpTable.cs
- ColorPalette.cs
- NamespaceMapping.cs
- ContainerParagraph.cs
- EventNotify.cs
- TableCell.cs
- PrefixQName.cs
- PackageDigitalSignature.cs
- WindowsFormsSectionHandler.cs
- ContextMarshalException.cs
- XmlSchemaValidationException.cs
- RichTextBox.cs
- ValueChangedEventManager.cs
- WebRequestModulesSection.cs
- SHA512Cng.cs
- AnonymousIdentificationModule.cs
- SudsWriter.cs
- MemberAssignment.cs
- InvalidCastException.cs
- MailWriter.cs
- InvalidContentTypeException.cs
- OpCopier.cs
- Facet.cs
- AsymmetricKeyExchangeDeformatter.cs
- Baml6ConstructorInfo.cs
- SimpleParser.cs
- EntityDescriptor.cs
- NumberFunctions.cs
- QueryExpr.cs
- RectangleConverter.cs
- BitFlagsGenerator.cs
- FacetChecker.cs
- XmlMtomWriter.cs
- TablePatternIdentifiers.cs
- PropertyGridCommands.cs
- CellLabel.cs
- System.Data_BID.cs
- HtmlTableCellCollection.cs
- ListChangedEventArgs.cs
- DataContractAttribute.cs
- XmlQualifiedName.cs
- ConcurrentDictionary.cs
- DataGridViewTopLeftHeaderCell.cs
- CellTreeNodeVisitors.cs
- DataBoundControlDesigner.cs
- BindingContext.cs
- AudioDeviceOut.cs
- HtmlTernaryTree.cs
- VectorAnimationBase.cs
- DiffuseMaterial.cs
- DiscoveryClientElement.cs
- GeometryCollection.cs
- GenericNameHandler.cs
- UTF8Encoding.cs
- WindowInteropHelper.cs
- Imaging.cs
- PropertyStore.cs
- LicenseContext.cs
- WebEvents.cs
- ActivityBuilderXamlWriter.cs
- PartialCachingAttribute.cs
- OracleInfoMessageEventArgs.cs
- DBParameter.cs
- SecurityTokenParameters.cs
- ImageKeyConverter.cs
- SqlGenericUtil.cs
- OrderPreservingSpoolingTask.cs
- SecurityCriticalDataForSet.cs
- XmlIlGenerator.cs
- UpdateProgress.cs
- HtmlShim.cs
- DataGridTable.cs
- SystemInformation.cs
- TreeBuilderXamlTranslator.cs
- CodeGeneratorAttribute.cs
- SharedStatics.cs
- securitycriticaldata.cs
- TextSyndicationContent.cs
- ExpandCollapseProviderWrapper.cs
- IgnoreSection.cs
- IndexedGlyphRun.cs
- EdgeModeValidation.cs
- NotifyParentPropertyAttribute.cs
- EntityException.cs
- GeneralTransform3DTo2D.cs
- RIPEMD160Managed.cs
- RegularExpressionValidator.cs
- StylusPointCollection.cs
- MeasureItemEvent.cs
- ListItemCollection.cs
- ColorTransformHelper.cs
- MemberAccessException.cs