Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Recognition / AudioLevelUpdatedEventArgs.cs / 1 / AudioLevelUpdatedEventArgs.cs
//------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------
using System;
namespace System.Speech.Recognition
{
/// TODOC <_include file='doc\AudioStatusChangedEventArgs.uex' path='docs/doc[@for="AudioStatusChangedEventArgs"]/*' />
// EventArgs used in the AudioLevelUpdatedEventArgs event.
public class AudioLevelUpdatedEventArgs : EventArgs
{
//*******************************************************************
//
// Constructors
//
//*******************************************************************
#region Constructors
internal AudioLevelUpdatedEventArgs(int audioLevel)
{
_audioLevel = audioLevel;
}
#endregion
//********************************************************************
//
// Public Properties
//
//*******************************************************************
#region public Properties
/// TODOC <_include file='doc\AudioStatusChangedEventArgs.uex' path='docs/doc[@for="AudioStatusChangedEventArgs.AudioStatus"]/*' />
public int AudioLevel
{
get { return _audioLevel; }
}
#endregion
//********************************************************************
//
// Private Fields
//
//********************************************************************
#region Private Fields
private int _audioLevel;
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------
using System;
namespace System.Speech.Recognition
{
/// TODOC <_include file='doc\AudioStatusChangedEventArgs.uex' path='docs/doc[@for="AudioStatusChangedEventArgs"]/*' />
// EventArgs used in the AudioLevelUpdatedEventArgs event.
public class AudioLevelUpdatedEventArgs : EventArgs
{
//*******************************************************************
//
// Constructors
//
//*******************************************************************
#region Constructors
internal AudioLevelUpdatedEventArgs(int audioLevel)
{
_audioLevel = audioLevel;
}
#endregion
//********************************************************************
//
// Public Properties
//
//*******************************************************************
#region public Properties
/// TODOC <_include file='doc\AudioStatusChangedEventArgs.uex' path='docs/doc[@for="AudioStatusChangedEventArgs.AudioStatus"]/*' />
public int AudioLevel
{
get { return _audioLevel; }
}
#endregion
//********************************************************************
//
// Private Fields
//
//********************************************************************
#region Private Fields
private int _audioLevel;
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertyNames.cs
- BitmapScalingModeValidation.cs
- StringCollectionEditor.cs
- XmlMembersMapping.cs
- BasicViewGenerator.cs
- TableLayoutStyleCollection.cs
- TextPenaltyModule.cs
- Size.cs
- ReturnEventArgs.cs
- SymmetricCryptoHandle.cs
- OLEDB_Enum.cs
- InvalidAsynchronousStateException.cs
- NamedPipeHostedTransportConfiguration.cs
- RC2.cs
- PropertyPathConverter.cs
- TypeSystem.cs
- BufferModesCollection.cs
- ContentControl.cs
- CultureInfoConverter.cs
- XamlBuildTaskServices.cs
- ModulesEntry.cs
- LinqDataView.cs
- Column.cs
- CFStream.cs
- UserPersonalizationStateInfo.cs
- EnumValAlphaComparer.cs
- BypassElement.cs
- ApplicationSettingsBase.cs
- Utils.cs
- MethodCallConverter.cs
- UnknownBitmapDecoder.cs
- ApplicationCommands.cs
- SendMailErrorEventArgs.cs
- PagedDataSource.cs
- XmlSchemaSimpleTypeUnion.cs
- CompatibleComparer.cs
- MessageQueueException.cs
- SmiContext.cs
- BitmapMetadataBlob.cs
- CompilerCollection.cs
- Mapping.cs
- PropertyFilterAttribute.cs
- OneOf.cs
- ColumnCollection.cs
- XPathBinder.cs
- Roles.cs
- CompilerHelpers.cs
- TextClipboardData.cs
- HttpResponse.cs
- RenderDataDrawingContext.cs
- ListSurrogate.cs
- MetafileEditor.cs
- LicenseContext.cs
- EditorPartChrome.cs
- TraceRecord.cs
- UdpSocket.cs
- ActivityExecutorOperation.cs
- KeyGesture.cs
- RegexCode.cs
- ImageSource.cs
- COM2ExtendedUITypeEditor.cs
- ArraySortHelper.cs
- Executor.cs
- HTMLTextWriter.cs
- SafeRegistryKey.cs
- MSAANativeProvider.cs
- basemetadatamappingvisitor.cs
- DbProviderConfigurationHandler.cs
- LocalsItemDescription.cs
- Query.cs
- MemberDescriptor.cs
- DescendentsWalkerBase.cs
- FileVersion.cs
- WmlControlAdapter.cs
- WebPartCancelEventArgs.cs
- unsafeIndexingFilterStream.cs
- BufferManager.cs
- PerformanceCounterLib.cs
- DelegateTypeInfo.cs
- CalendarButton.cs
- CapabilitiesState.cs
- OptionUsage.cs
- TextServicesCompartment.cs
- COM2ExtendedBrowsingHandler.cs
- ArgIterator.cs
- AbandonedMutexException.cs
- ConsoleTraceListener.cs
- ProviderConnectionPointCollection.cs
- DesignerPerfEventProvider.cs
- RestClientProxyHandler.cs
- xml.cs
- ConfigPathUtility.cs
- UnsafeNativeMethods.cs
- RecognizedWordUnit.cs
- HistoryEventArgs.cs
- QilGeneratorEnv.cs
- EntityConnection.cs
- TransactionFilter.cs
- ObjectListCommandsPage.cs
- MetadataCache.cs