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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColumnPropertiesGroup.cs
- DataTableNewRowEvent.cs
- DbSetClause.cs
- DefaultBinder.cs
- WebScriptMetadataMessageEncoderFactory.cs
- ApplicationGesture.cs
- QueueProcessor.cs
- NameService.cs
- DataSet.cs
- JsonDeserializer.cs
- DecimalMinMaxAggregationOperator.cs
- Rect.cs
- HtmlContainerControl.cs
- ByteStreamMessageEncoderFactory.cs
- SimpleMailWebEventProvider.cs
- CompModSwitches.cs
- ToolStripGripRenderEventArgs.cs
- RequestSecurityTokenResponse.cs
- RowToFieldTransformer.cs
- X509Certificate.cs
- CloudCollection.cs
- FixedPageProcessor.cs
- CharacterShapingProperties.cs
- SQLBinaryStorage.cs
- HtmlElementErrorEventArgs.cs
- AtomParser.cs
- StylusPlugInCollection.cs
- ConfigurationManagerHelperFactory.cs
- ValidatingReaderNodeData.cs
- DesignerRegion.cs
- ThrowHelper.cs
- PropertyStore.cs
- AssemblyBuilder.cs
- DataGridViewBand.cs
- WebProxyScriptElement.cs
- ConfigXmlWhitespace.cs
- NavigationFailedEventArgs.cs
- FormsAuthenticationTicket.cs
- DataListGeneralPage.cs
- EntityDesignerBuildProvider.cs
- BuilderElements.cs
- InternalRelationshipCollection.cs
- TextEditorContextMenu.cs
- SecurityProtocolFactory.cs
- TaskHelper.cs
- SelectionUIHandler.cs
- Font.cs
- DeadCharTextComposition.cs
- DetailsViewUpdateEventArgs.cs
- CompilationUnit.cs
- PropertyGridCommands.cs
- UpdateCommand.cs
- RootProfilePropertySettingsCollection.cs
- ValidatedControlConverter.cs
- BufferedGraphicsContext.cs
- Vector3dCollection.cs
- CornerRadiusConverter.cs
- StateDesigner.Helpers.cs
- SystemIPAddressInformation.cs
- MediaCommands.cs
- WebPartCloseVerb.cs
- Encoder.cs
- CommentEmitter.cs
- TransactionInformation.cs
- WebPartVerb.cs
- CodeSubDirectoriesCollection.cs
- SQLDateTime.cs
- TabControlAutomationPeer.cs
- PersonalizationProviderHelper.cs
- ToolStripSeparator.cs
- UnmanagedMemoryStreamWrapper.cs
- TheQuery.cs
- InfoCardRSACryptoProvider.cs
- GridEntry.cs
- ImageFormat.cs
- ListViewAutomationPeer.cs
- CannotUnloadAppDomainException.cs
- XmlSchemaFacet.cs
- SymbolMethod.cs
- RenderTargetBitmap.cs
- MediaCommands.cs
- TypeResolver.cs
- HGlobalSafeHandle.cs
- AnnotationAdorner.cs
- XmlDownloadManager.cs
- XmlAttributeCollection.cs
- HttpWriter.cs
- XmlDataDocument.cs
- TextTrailingCharacterEllipsis.cs
- OdbcRowUpdatingEvent.cs
- DispatchChannelSink.cs
- StorageConditionPropertyMapping.cs
- ExpiredSecurityTokenException.cs
- PropertyGeneratedEventArgs.cs
- Common.cs
- SizeFConverter.cs
- mda.cs
- RtfControlWordInfo.cs
- DataGridCommandEventArgs.cs
- WaitHandleCannotBeOpenedException.cs