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
- RelationalExpressions.cs
- UrlEncodedParameterWriter.cs
- PasswordRecoveryAutoFormat.cs
- OperationInvokerBehavior.cs
- EntityDesignerUtils.cs
- ObjectDataSourceEventArgs.cs
- ReflectTypeDescriptionProvider.cs
- FamilyTypefaceCollection.cs
- ObjectDataSourceFilteringEventArgs.cs
- DataTemplateKey.cs
- CodeMemberProperty.cs
- InvalidDataException.cs
- _LoggingObject.cs
- BodyWriter.cs
- LinkTarget.cs
- GridViewRow.cs
- DataGridViewCheckBoxCell.cs
- GenericEnumerator.cs
- IProvider.cs
- XPathSingletonIterator.cs
- PrivilegedConfigurationManager.cs
- CommandField.cs
- XPathQilFactory.cs
- FieldCollectionEditor.cs
- EventProperty.cs
- LocalizableAttribute.cs
- ScrollItemPatternIdentifiers.cs
- BridgeDataRecord.cs
- ContentElementAutomationPeer.cs
- IDataContractSurrogate.cs
- EntryPointNotFoundException.cs
- ThreadSafeMessageFilterTable.cs
- OpacityConverter.cs
- XmlWhitespace.cs
- RoutedPropertyChangedEventArgs.cs
- MemberRelationshipService.cs
- DataGridViewTopLeftHeaderCell.cs
- CodeExporter.cs
- KoreanCalendar.cs
- TraceLog.cs
- RangeExpression.cs
- LiteralControl.cs
- CompilationRelaxations.cs
- ToolStripMenuItem.cs
- StylusButtonCollection.cs
- TagMapCollection.cs
- SslStreamSecurityUpgradeProvider.cs
- SimpleWorkerRequest.cs
- SchemaImporterExtensionsSection.cs
- GeometryGroup.cs
- connectionpool.cs
- UInt16Converter.cs
- Pkcs9Attribute.cs
- CharEnumerator.cs
- DataSvcMapFileSerializer.cs
- StreamReader.cs
- ArrayWithOffset.cs
- Window.cs
- DSASignatureFormatter.cs
- WorkflowTimerService.cs
- DocumentScope.cs
- XmlDataProvider.cs
- TreeWalker.cs
- HttpCapabilitiesBase.cs
- IxmlLineInfo.cs
- SelectionWordBreaker.cs
- ImageMap.cs
- PersonalizationAdministration.cs
- ConstraintConverter.cs
- BoundsDrawingContextWalker.cs
- StringTraceRecord.cs
- DataBoundLiteralControl.cs
- cookiecontainer.cs
- Label.cs
- _ChunkParse.cs
- PropertiesTab.cs
- CheckoutException.cs
- MSAAWinEventWrap.cs
- ArrayWithOffset.cs
- VersionPair.cs
- FormatException.cs
- UnicodeEncoding.cs
- EncryptedHeaderXml.cs
- XPathParser.cs
- DBSqlParser.cs
- AttachmentService.cs
- ParallelEnumerableWrapper.cs
- DataSourceXmlElementAttribute.cs
- UIElement3D.cs
- HtmlInputReset.cs
- DynamicActivityTypeDescriptor.cs
- NumberFunctions.cs
- TextTreeFixupNode.cs
- SamlEvidence.cs
- LZCodec.cs
- SwitchElementsCollection.cs
- MetadataItem_Static.cs
- ConfigurationPropertyCollection.cs
- ErrorHandler.cs
- SingleTagSectionHandler.cs