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
- ObjectParameter.cs
- WindowsRichEdit.cs
- NotSupportedException.cs
- ParsedAttributeCollection.cs
- ContextDataSource.cs
- TableRowGroup.cs
- GridViewColumnCollectionChangedEventArgs.cs
- SourceCollection.cs
- CustomValidator.cs
- LineGeometry.cs
- ToolStripArrowRenderEventArgs.cs
- ObjectStateEntry.cs
- DrawingAttributeSerializer.cs
- StoreItemCollection.Loader.cs
- Guid.cs
- RuleSetDialog.Designer.cs
- Bidi.cs
- CompositeDataBoundControl.cs
- PointLight.cs
- TableAutomationPeer.cs
- ReferenceSchema.cs
- RootBrowserWindow.cs
- PlacementWorkspace.cs
- DataGridViewCellValidatingEventArgs.cs
- MediaElement.cs
- HttpResponseInternalBase.cs
- TabControlCancelEvent.cs
- DecimalKeyFrameCollection.cs
- CreateUserErrorEventArgs.cs
- DesignerValidatorAdapter.cs
- XmlCodeExporter.cs
- WorkflowApplicationCompletedException.cs
- PrivateFontCollection.cs
- ProxyElement.cs
- Identity.cs
- smtpconnection.cs
- VirtualPathUtility.cs
- EntityDataSourceViewSchema.cs
- HttpCookiesSection.cs
- EntitySqlException.cs
- RuntimeHandles.cs
- CodePrimitiveExpression.cs
- LocalFileSettingsProvider.cs
- QilExpression.cs
- TreeViewImageKeyConverter.cs
- XmlNamedNodeMap.cs
- SerializerProvider.cs
- XmlSerializerSection.cs
- CharAnimationUsingKeyFrames.cs
- ControlEvent.cs
- DoubleAnimationUsingKeyFrames.cs
- ContainsRowNumberChecker.cs
- TransportElement.cs
- Hashtable.cs
- DebugView.cs
- XPathNodeIterator.cs
- FixedSOMTableCell.cs
- FillErrorEventArgs.cs
- TableProviderWrapper.cs
- Rss20FeedFormatter.cs
- IndicFontClient.cs
- PassportAuthenticationEventArgs.cs
- DockEditor.cs
- WebBrowserUriTypeConverter.cs
- TableLayoutColumnStyleCollection.cs
- ModuleBuilderData.cs
- FragmentQueryKB.cs
- GenericTypeParameterBuilder.cs
- CheckBox.cs
- MemberProjectedSlot.cs
- Accessors.cs
- ObjectRef.cs
- QuotedPrintableStream.cs
- ExpressionNormalizer.cs
- ApplicationDirectoryMembershipCondition.cs
- ConnectionProviderAttribute.cs
- RegistryPermission.cs
- PickBranch.cs
- AppDomainProtocolHandler.cs
- PartialList.cs
- SocketAddress.cs
- WindowsPen.cs
- IdleTimeoutMonitor.cs
- MetafileHeader.cs
- InstalledVoice.cs
- EncryptedType.cs
- ScrollContentPresenter.cs
- Query.cs
- Int16KeyFrameCollection.cs
- _UncName.cs
- ChtmlTextBoxAdapter.cs
- AppSettingsSection.cs
- EventItfInfo.cs
- ResourceExpressionBuilder.cs
- DispatcherExceptionEventArgs.cs
- RegexInterpreter.cs
- PriorityRange.cs
- Brushes.cs
- PlainXmlSerializer.cs
- SimpleType.cs