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
- CodeExpressionRuleDeclaration.cs
- EntityExpressionVisitor.cs
- ConcurrencyMode.cs
- EntityKeyElement.cs
- MemberInfoSerializationHolder.cs
- DynamicHyperLink.cs
- TextCompositionManager.cs
- ColumnResizeAdorner.cs
- DocumentPageView.cs
- TrackingMemoryStreamFactory.cs
- XPathNavigator.cs
- DrawingAttributesDefaultValueFactory.cs
- SafeViewOfFileHandle.cs
- XhtmlTextWriter.cs
- CapiSymmetricAlgorithm.cs
- PageBuildProvider.cs
- SmiSettersStream.cs
- xmlformatgeneratorstatics.cs
- TreeViewItemAutomationPeer.cs
- WebHeaderCollection.cs
- AssemblyBuilder.cs
- NetPipeSection.cs
- WorkflowMarkupSerializerMapping.cs
- TableRowGroup.cs
- MessageBox.cs
- SqlInternalConnectionTds.cs
- IPEndPoint.cs
- Clause.cs
- ConnectionConsumerAttribute.cs
- BoolExpression.cs
- IdnMapping.cs
- CompoundFileReference.cs
- ServiceProviders.cs
- BaseComponentEditor.cs
- AttributeEmitter.cs
- DataSourceCacheDurationConverter.cs
- Invariant.cs
- oledbmetadatacollectionnames.cs
- StorageAssociationSetMapping.cs
- DataControlHelper.cs
- SmtpFailedRecipientsException.cs
- PerspectiveCamera.cs
- NullableLongMinMaxAggregationOperator.cs
- TextRangeEditLists.cs
- RegionIterator.cs
- StaticResourceExtension.cs
- ProtocolsSection.cs
- _CacheStreams.cs
- ObservableDictionary.cs
- Padding.cs
- SqlGenerator.cs
- MetadataFile.cs
- ConsoleKeyInfo.cs
- ActiveDesignSurfaceEvent.cs
- InteropBitmapSource.cs
- ModelItemCollectionImpl.cs
- ServiceHostFactory.cs
- Validator.cs
- CalendarAutoFormatDialog.cs
- MemberDescriptor.cs
- MouseButtonEventArgs.cs
- ByteFacetDescriptionElement.cs
- TextOutput.cs
- NavigationProperty.cs
- SqlErrorCollection.cs
- DoubleLinkList.cs
- TextEffectCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- WorkflowServiceBehavior.cs
- ContainerUtilities.cs
- Point3DCollection.cs
- StopStoryboard.cs
- RegexBoyerMoore.cs
- MasterPageParser.cs
- RightsManagementProvider.cs
- DynamicFilter.cs
- Menu.cs
- ApplicationManager.cs
- ForceCopyBuildProvider.cs
- SafeSecurityHelper.cs
- StylusEventArgs.cs
- JsonQueryStringConverter.cs
- ConnectionManagementElement.cs
- TypeBuilder.cs
- ResourceWriter.cs
- COM2PictureConverter.cs
- SqlStatistics.cs
- CollectionBuilder.cs
- DbSource.cs
- UnsafeNativeMethods.cs
- PaintValueEventArgs.cs
- SmiEventSink_Default.cs
- ResXFileRef.cs
- SortKey.cs
- SmtpLoginAuthenticationModule.cs
- ZipFileInfo.cs
- PublishLicense.cs
- SqlProfileProvider.cs
- OuterGlowBitmapEffect.cs
- GcSettings.cs