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 / AutomationPattern.cs / 1 / AutomationPattern.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
//
// Description: Identifier for Automation Patterns
//
// History:
// 06/02/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
using System;
using MS.Internal.Automation;
namespace System.Windows.Automation
{
///
/// Identifier for Automation Patterns
///
#if (INTERNAL_COMPILE)
internal class AutomationPattern: AutomationIdentifier
#else
public class AutomationPattern: AutomationIdentifier
#endif
{
internal AutomationPattern(int id, Guid guid, string programmaticName)
: base(UiaCoreTypesApi.AutomationIdType.Pattern, id, guid, programmaticName)
{
}
///
///
internal static AutomationPattern Register(Guid guid, string programmaticName)
{
return (AutomationPattern)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Pattern, guid, programmaticName);
}
///
///
public static AutomationPattern LookupById(int id)
{
return (AutomationPattern)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.Pattern, 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 Patterns
//
// History:
// 06/02/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
using System;
using MS.Internal.Automation;
namespace System.Windows.Automation
{
///
/// Identifier for Automation Patterns
///
#if (INTERNAL_COMPILE)
internal class AutomationPattern: AutomationIdentifier
#else
public class AutomationPattern: AutomationIdentifier
#endif
{
internal AutomationPattern(int id, Guid guid, string programmaticName)
: base(UiaCoreTypesApi.AutomationIdType.Pattern, id, guid, programmaticName)
{
}
///
///
internal static AutomationPattern Register(Guid guid, string programmaticName)
{
return (AutomationPattern)AutomationIdentifier.Register(UiaCoreTypesApi.AutomationIdType.Pattern, guid, programmaticName);
}
///
///
public static AutomationPattern LookupById(int id)
{
return (AutomationPattern)AutomationIdentifier.LookupById(UiaCoreTypesApi.AutomationIdType.Pattern, 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
- HttpResponseInternalWrapper.cs
- HtmlEmptyTagControlBuilder.cs
- SqlDependencyUtils.cs
- TraceData.cs
- BitConverter.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SpellerInterop.cs
- DataServiceQueryException.cs
- DataGridViewRowPrePaintEventArgs.cs
- DummyDataSource.cs
- DataViewSettingCollection.cs
- GridViewActionList.cs
- VolatileEnlistmentState.cs
- SignedPkcs7.cs
- BooleanToVisibilityConverter.cs
- XmlKeywords.cs
- ExtensionWindow.cs
- FreezableDefaultValueFactory.cs
- Margins.cs
- PartialTrustHelpers.cs
- MatrixAnimationBase.cs
- UnaryExpression.cs
- HtmlTable.cs
- Switch.cs
- ValidatorUtils.cs
- Brush.cs
- SqlNamer.cs
- PerformanceCounter.cs
- RequestTimeoutManager.cs
- Border.cs
- NativeMethods.cs
- COM2Properties.cs
- OdbcConnectionHandle.cs
- CharEnumerator.cs
- ContextProperty.cs
- ExpressionNormalizer.cs
- SoapRpcServiceAttribute.cs
- SoundPlayer.cs
- DataGridViewRowsAddedEventArgs.cs
- SchemaTypeEmitter.cs
- Serializer.cs
- TableCellCollection.cs
- LogConverter.cs
- FocusManager.cs
- Container.cs
- Control.cs
- ExpressionParser.cs
- OutputCacheSettings.cs
- TextBox.cs
- TTSEngineProxy.cs
- TabItemWrapperAutomationPeer.cs
- IdnElement.cs
- SiteMapSection.cs
- CookieProtection.cs
- PathParser.cs
- FrameSecurityDescriptor.cs
- XmlKeywords.cs
- Baml6Assembly.cs
- PrimitiveXmlSerializers.cs
- ByteStreamBufferedMessageData.cs
- ScrollData.cs
- DrawingAttributeSerializer.cs
- Classification.cs
- ScrollProperties.cs
- XPathAncestorIterator.cs
- SmtpAuthenticationManager.cs
- LogRestartAreaEnumerator.cs
- AddInAdapter.cs
- PersonalizationStateQuery.cs
- XamlWrapperReaders.cs
- WebPartZoneCollection.cs
- TextParaLineResult.cs
- TextEditor.cs
- HttpResponse.cs
- TableProviderWrapper.cs
- HTTPAPI_VERSION.cs
- AnnotationAdorner.cs
- UncommonField.cs
- StorageConditionPropertyMapping.cs
- ApplicationSecurityInfo.cs
- EditorAttributeInfo.cs
- Aggregates.cs
- RepeaterItem.cs
- SiteMapSection.cs
- MaskInputRejectedEventArgs.cs
- RadioButtonAutomationPeer.cs
- FontEmbeddingManager.cs
- SecUtil.cs
- StringArrayConverter.cs
- ConsumerConnectionPoint.cs
- PlaceHolder.cs
- FormsAuthenticationEventArgs.cs
- ThreadStartException.cs
- ProfileService.cs
- WebCategoryAttribute.cs
- httpstaticobjectscollection.cs
- TabControlEvent.cs
- EntityConnectionStringBuilderItem.cs
- Registration.cs
- RemoteWebConfigurationHostStream.cs