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
- DbParameterHelper.cs
- ObfuscationAttribute.cs
- ObjectDataSourceFilteringEventArgs.cs
- TagMapCollection.cs
- XmlIlVisitor.cs
- XmlBinaryReader.cs
- contentDescriptor.cs
- LinearGradientBrush.cs
- NonVisualControlAttribute.cs
- AppDomainUnloadedException.cs
- SystemBrushes.cs
- ModelItemImpl.cs
- XmlSchemaCompilationSettings.cs
- Configuration.cs
- ListViewCommandEventArgs.cs
- DescendantBaseQuery.cs
- FrameworkEventSource.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- PersonalizationProvider.cs
- ResolveCompletedEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- InstanceDataCollectionCollection.cs
- QilParameter.cs
- XmlQueryType.cs
- DataServicePagingProviderWrapper.cs
- XmlDocumentFragment.cs
- ShapingWorkspace.cs
- PasswordDeriveBytes.cs
- PropertyItem.cs
- DataServiceExpressionVisitor.cs
- TriggerCollection.cs
- KoreanLunisolarCalendar.cs
- DependencyPropertyKind.cs
- ProcessModelInfo.cs
- BitStack.cs
- SafeBitVector32.cs
- XmlSchemaSequence.cs
- AnnotationResource.cs
- ConfigXmlCDataSection.cs
- nulltextnavigator.cs
- DataFieldEditor.cs
- Int32RectConverter.cs
- DateTimeFormat.cs
- CodeAttachEventStatement.cs
- Margins.cs
- CryptoConfig.cs
- EditingContext.cs
- ConfigurationStrings.cs
- FrameworkContentElement.cs
- WSDualHttpSecurityElement.cs
- SqlServices.cs
- ConnectionConsumerAttribute.cs
- XmlBufferedByteStreamReader.cs
- CalendarAutomationPeer.cs
- ToolTip.cs
- StateItem.cs
- SqlTriggerAttribute.cs
- WindowsMenu.cs
- HasCopySemanticsAttribute.cs
- DataException.cs
- GuidConverter.cs
- ServerProtocol.cs
- EntityParameter.cs
- ReferencedCollectionType.cs
- validationstate.cs
- XslException.cs
- Double.cs
- WinFormsUtils.cs
- WizardStepBase.cs
- PageThemeParser.cs
- FullTrustAssembly.cs
- Guid.cs
- Baml6ConstructorInfo.cs
- ReferencedType.cs
- Int32CAMarshaler.cs
- LinkButton.cs
- CommandLineParser.cs
- Int16Storage.cs
- DataTemplateKey.cs
- WindowsSecurityToken.cs
- ChangeInterceptorAttribute.cs
- Automation.cs
- UnknownWrapper.cs
- ActivityStatusChangeEventArgs.cs
- DataObjectMethodAttribute.cs
- CodeTypeReferenceCollection.cs
- StrokeCollection2.cs
- BasicCellRelation.cs
- CodeIdentifier.cs
- PageParserFilter.cs
- OTFRasterizer.cs
- DataGridRow.cs
- XPathNodeIterator.cs
- GroupItemAutomationPeer.cs
- MetadataItemEmitter.cs
- EntryWrittenEventArgs.cs
- ChtmlFormAdapter.cs
- MetabaseServerConfig.cs
- FrameAutomationPeer.cs
- XmlArrayItemAttributes.cs