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
- objectquery_tresulttype.cs
- IndexerNameAttribute.cs
- Rect3DValueSerializer.cs
- PenThreadWorker.cs
- SqlMethods.cs
- XAMLParseException.cs
- TabControl.cs
- SynchronizingStream.cs
- HttpContext.cs
- XmlAtomicValue.cs
- TemplateField.cs
- RedirectionProxy.cs
- datacache.cs
- MLangCodePageEncoding.cs
- RSACryptoServiceProvider.cs
- DbConnectionOptions.cs
- Matrix3DStack.cs
- ConfigurationValue.cs
- Mapping.cs
- WinEventHandler.cs
- HasCopySemanticsAttribute.cs
- Misc.cs
- Vector3DIndependentAnimationStorage.cs
- MetadataUtil.cs
- LocalizationParserHooks.cs
- ProviderConnectionPointCollection.cs
- FileIOPermission.cs
- FileLoadException.cs
- controlskin.cs
- StylusLogic.cs
- CapabilitiesSection.cs
- MatrixCamera.cs
- HandlerBase.cs
- FileSystemEnumerable.cs
- QilVisitor.cs
- SafeArchiveContext.cs
- TreeNodeCollection.cs
- SHA1.cs
- MetabaseReader.cs
- ExpressionBuilderContext.cs
- Pen.cs
- SourceCollection.cs
- TextTreeText.cs
- safex509handles.cs
- NotSupportedException.cs
- RegistrySecurity.cs
- NonBatchDirectoryCompiler.cs
- DrawToolTipEventArgs.cs
- TextServicesPropertyRanges.cs
- SchemaMerger.cs
- TimeoutValidationAttribute.cs
- IChannel.cs
- DataGridCommandEventArgs.cs
- Animatable.cs
- ChooseAction.cs
- RadioButtonRenderer.cs
- OracleMonthSpan.cs
- mediaeventshelper.cs
- ImageAutomationPeer.cs
- ProjectionQueryOptionExpression.cs
- WebBrowserBase.cs
- EventProviderWriter.cs
- SQLMembershipProvider.cs
- SizeConverter.cs
- NetworkCredential.cs
- dataSvcMapFileLoader.cs
- IntSecurity.cs
- ContentPosition.cs
- CngUIPolicy.cs
- Ray3DHitTestResult.cs
- RegexCode.cs
- ParseNumbers.cs
- Vector3DCollectionValueSerializer.cs
- MessageDroppedTraceRecord.cs
- validationstate.cs
- ObjectNotFoundException.cs
- RpcAsyncResult.cs
- messageonlyhwndwrapper.cs
- DynamicFilterExpression.cs
- ComponentChangingEvent.cs
- _PooledStream.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- SelectorAutomationPeer.cs
- WebBrowser.cs
- EDesignUtil.cs
- Vector3DCollectionValueSerializer.cs
- BitStack.cs
- RoutedEventConverter.cs
- DLinqAssociationProvider.cs
- ListBase.cs
- ProviderCommandInfoUtils.cs
- PointLightBase.cs
- Visual.cs
- RegionData.cs
- BlurBitmapEffect.cs
- HttpConfigurationContext.cs
- DrawToolTipEventArgs.cs
- RayMeshGeometry3DHitTestResult.cs
- XmlNodeList.cs
- ScrollEventArgs.cs