Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- FileDetails.cs
- RepeaterItem.cs
- FormsAuthenticationEventArgs.cs
- InkCanvasSelectionAdorner.cs
- OutputScopeManager.cs
- PositiveTimeSpanValidatorAttribute.cs
- ObjectDisposedException.cs
- TraceListeners.cs
- ColorAnimationBase.cs
- ClientSideQueueItem.cs
- XmlQueryTypeFactory.cs
- WpfXamlMember.cs
- CompositeDuplexBindingElementImporter.cs
- TextSerializer.cs
- DataGridRowAutomationPeer.cs
- VisualTarget.cs
- PasswordDeriveBytes.cs
- XAMLParseException.cs
- X509Certificate2.cs
- WorkflowTimerService.cs
- Knowncolors.cs
- ConfigurationPropertyAttribute.cs
- ObjectDataSourceEventArgs.cs
- ByteStorage.cs
- PathSegmentCollection.cs
- HwndHost.cs
- TrackingLocation.cs
- LinqDataSourceSelectEventArgs.cs
- PartialClassGenerationTask.cs
- XmlExpressionDumper.cs
- ConfigurationSection.cs
- X509CertificateClaimSet.cs
- Page.cs
- StylesEditorDialog.cs
- NonClientArea.cs
- ByteKeyFrameCollection.cs
- OperationDescriptionCollection.cs
- TableRow.cs
- GetPageCompletedEventArgs.cs
- PageEventArgs.cs
- WebServiceErrorEvent.cs
- EncodingInfo.cs
- CredentialCache.cs
- ListViewSortEventArgs.cs
- Assert.cs
- ZipIOCentralDirectoryFileHeader.cs
- DataObjectAttribute.cs
- NumericPagerField.cs
- XmlILConstructAnalyzer.cs
- DoubleIndependentAnimationStorage.cs
- ToolStripOverflow.cs
- SecurityHelper.cs
- HotCommands.cs
- ReachDocumentPageSerializer.cs
- TagElement.cs
- ChoiceConverter.cs
- CellTreeNode.cs
- Solver.cs
- MenuEventArgs.cs
- SQLSingle.cs
- AutomationPatternInfo.cs
- CacheVirtualItemsEvent.cs
- StickyNoteContentControl.cs
- HtmlWindowCollection.cs
- CodePageEncoding.cs
- Filter.cs
- WebServiceClientProxyGenerator.cs
- RectAnimationBase.cs
- DefinitionUpdate.cs
- RequestReplyCorrelator.cs
- Debug.cs
- CodeExpressionStatement.cs
- BrowserCapabilitiesFactory.cs
- XhtmlConformanceSection.cs
- PolyBezierSegmentFigureLogic.cs
- TextLineBreak.cs
- ReadingWritingEntityEventArgs.cs
- TemplateComponentConnector.cs
- DataPagerFieldItem.cs
- ColumnProvider.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- NameSpaceExtractor.cs
- JsonDeserializer.cs
- WindowsRichEdit.cs
- SpAudioStreamWrapper.cs
- httpstaticobjectscollection.cs
- IsolatedStorageFilePermission.cs
- SeekStoryboard.cs
- BindingWorker.cs
- basemetadatamappingvisitor.cs
- ArrangedElement.cs
- InvokePatternIdentifiers.cs
- KeyEvent.cs
- RNGCryptoServiceProvider.cs
- ColorTransformHelper.cs
- HandleCollector.cs
- SessionStateModule.cs
- DefaultPrintController.cs
- RequestCacheManager.cs
- DebugView.cs