Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Result / ReplacementText.cs / 1 / ReplacementText.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; using System.Speech.Internal.SapiInterop; using System.Speech.Internal.SrgsCompiler; using System.Speech.Internal.SrgsParser; using System.Text; using System.Xml; using System.Xml.XPath; namespace System.Speech.Recognition { ////// TODOC /// [Serializable] [StructLayout (LayoutKind.Sequential)] public class ReplacementText { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors internal ReplacementText (DisplayAttributes displayAttributes, string text, int wordIndex, int countOfWords) { _displayAttributes = displayAttributes; _text = text; _wordIndex = wordIndex; _countOfWords = countOfWords; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// public DisplayAttributes DisplayAttributes { get { return _displayAttributes; } } ////// TODOC /// public string Text { get { return _text; } } ////// TODOC /// public int FirstWordIndex { get { return _wordIndex; } } ////// TODOC /// public int CountOfWords { get { return _countOfWords; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields private DisplayAttributes _displayAttributes; private string _text; private int _wordIndex; private int _countOfWords; #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics; using System.Globalization; using System.Reflection; using System.Runtime.InteropServices; using System.Speech.Internal.SapiInterop; using System.Speech.Internal.SrgsCompiler; using System.Speech.Internal.SrgsParser; using System.Text; using System.Xml; using System.Xml.XPath; namespace System.Speech.Recognition { ////// TODOC /// [Serializable] [StructLayout (LayoutKind.Sequential)] public class ReplacementText { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors internal ReplacementText (DisplayAttributes displayAttributes, string text, int wordIndex, int countOfWords) { _displayAttributes = displayAttributes; _text = text; _wordIndex = wordIndex; _countOfWords = countOfWords; } #endregion //******************************************************************** // // Public Properties // //******************************************************************* #region Public Properties ////// TODOC /// public DisplayAttributes DisplayAttributes { get { return _displayAttributes; } } ////// TODOC /// public string Text { get { return _text; } } ////// TODOC /// public int FirstWordIndex { get { return _wordIndex; } } ////// TODOC /// public int CountOfWords { get { return _countOfWords; } } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields private DisplayAttributes _displayAttributes; private string _text; private int _wordIndex; private int _countOfWords; #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
- Visual3D.cs
- UpDownBase.cs
- DispatcherObject.cs
- HelpKeywordAttribute.cs
- SchemaTableOptionalColumn.cs
- VirtualPathData.cs
- CodeMethodInvokeExpression.cs
- SafeTimerHandle.cs
- CultureInfoConverter.cs
- SqlCacheDependencyDatabaseCollection.cs
- TraversalRequest.cs
- FrameworkElement.cs
- SafeFileHandle.cs
- AppDomainFactory.cs
- DataMisalignedException.cs
- RuleRef.cs
- RadioButton.cs
- SequentialOutput.cs
- PropertyGridCommands.cs
- XamlReaderConstants.cs
- BoundingRectTracker.cs
- SqlUDTStorage.cs
- AdornerDecorator.cs
- DataGridViewColumnConverter.cs
- KeyInfo.cs
- Exceptions.cs
- AutomationPatternInfo.cs
- MarkupExtensionParser.cs
- SqlSelectStatement.cs
- ContextStaticAttribute.cs
- EventsTab.cs
- SymbolType.cs
- Line.cs
- InfoCardArgumentException.cs
- ExtendedPropertyCollection.cs
- UnsafeMethods.cs
- Primitive.cs
- Model3DCollection.cs
- CollectionConverter.cs
- ConfigurationErrorsException.cs
- CompositeFontFamily.cs
- MetadataSource.cs
- ActiveXHelper.cs
- MetadataArtifactLoader.cs
- LinqDataSourceDeleteEventArgs.cs
- CompressionTransform.cs
- XPathNode.cs
- ParserHooks.cs
- AsyncOperationManager.cs
- CodeDirectionExpression.cs
- WebPartTransformer.cs
- ProxyGenerator.cs
- SQLUtility.cs
- SiteMapDesignerDataSourceView.cs
- Profiler.cs
- CommandBindingCollection.cs
- SerializationEventsCache.cs
- UInt16Converter.cs
- ToolbarAUtomationPeer.cs
- Knowncolors.cs
- WinFormsSpinner.cs
- SynchronizationContext.cs
- AuthenticationModuleElementCollection.cs
- WebPartMovingEventArgs.cs
- WeakReferenceList.cs
- RemoteHelper.cs
- TransformGroup.cs
- PagedDataSource.cs
- ValidationSummary.cs
- DynamicObject.cs
- ConfigurationValidatorBase.cs
- OrthographicCamera.cs
- OleDbMetaDataFactory.cs
- CollectionDataContract.cs
- SynchronizedCollection.cs
- NgenServicingAttributes.cs
- AutomationProperties.cs
- FontFamily.cs
- DataGridViewUtilities.cs
- ListViewItem.cs
- SymbolPair.cs
- TranslateTransform3D.cs
- MdiWindowListItemConverter.cs
- ObjectNavigationPropertyMapping.cs
- KoreanLunisolarCalendar.cs
- MobileControlsSectionHelper.cs
- TrackingServices.cs
- ProcessThreadDesigner.cs
- PackUriHelper.cs
- Unit.cs
- PathNode.cs
- HelpProvider.cs
- HScrollBar.cs
- RegionData.cs
- ShutDownListener.cs
- SqlBulkCopy.cs
- SecureUICommand.cs
- CodeMethodInvokeExpression.cs
- BindingsCollection.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs