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
- ChildDocumentBlock.cs
- ForEachDesigner.xaml.cs
- StrokeCollectionDefaultValueFactory.cs
- HintTextConverter.cs
- Base64Decoder.cs
- rsa.cs
- StaticFileHandler.cs
- ListChangedEventArgs.cs
- XmlLangPropertyAttribute.cs
- Fault.cs
- BufferedStream.cs
- RegexRunner.cs
- ITextView.cs
- activationcontext.cs
- CannotUnloadAppDomainException.cs
- XmlDocumentType.cs
- NamedPermissionSet.cs
- LabelEditEvent.cs
- COM2AboutBoxPropertyDescriptor.cs
- SystemIcmpV4Statistics.cs
- EdgeProfileValidation.cs
- BitmapFrameEncode.cs
- DomNameTable.cs
- ProgressBar.cs
- VersionedStream.cs
- HttpCookieCollection.cs
- Input.cs
- EdmConstants.cs
- PrimitiveXmlSerializers.cs
- ActivityAction.cs
- MarkupCompilePass1.cs
- CoTaskMemSafeHandle.cs
- IFlowDocumentViewer.cs
- SqlCacheDependencySection.cs
- ProcessStartInfo.cs
- Rotation3D.cs
- SafeThemeHandle.cs
- VisualStateChangedEventArgs.cs
- CodeIterationStatement.cs
- IRCollection.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- BamlBinaryReader.cs
- ProcessThreadCollection.cs
- XmlBindingWorker.cs
- DynamicPropertyHolder.cs
- StackBuilderSink.cs
- CreateUserErrorEventArgs.cs
- ImageMap.cs
- Latin1Encoding.cs
- Graphics.cs
- MetaModel.cs
- MenuStrip.cs
- ParentQuery.cs
- listitem.cs
- ResolveDuplex11AsyncResult.cs
- XslCompiledTransform.cs
- ClockGroup.cs
- MulticastDelegate.cs
- ApplicationServiceManager.cs
- RemoteWebConfigurationHost.cs
- TableDetailsRow.cs
- HttpCacheParams.cs
- FunctionParameter.cs
- updateconfighost.cs
- DataGridItemCollection.cs
- XmlAttributeCollection.cs
- RecognizerInfo.cs
- ArgumentsParser.cs
- XmlSchemaAttributeGroupRef.cs
- DelegateArgumentReference.cs
- Int32Animation.cs
- DaylightTime.cs
- XmlEncodedRawTextWriter.cs
- Point4D.cs
- GridViewRowEventArgs.cs
- MonthChangedEventArgs.cs
- InvalidCastException.cs
- WindowsFormsSynchronizationContext.cs
- EncryptedType.cs
- DiagnosticStrings.cs
- ContextMenuService.cs
- Renderer.cs
- PrimitiveType.cs
- SectionInformation.cs
- CompilationRelaxations.cs
- ExponentialEase.cs
- EncryptedData.cs
- tooltip.cs
- Dictionary.cs
- Camera.cs
- EntityFunctions.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- __ConsoleStream.cs
- StateBag.cs
- ObjectItemCollection.cs
- ActivityPreviewDesigner.cs
- ProjectionPlan.cs
- IndexedGlyphRun.cs
- SecurityContextTokenValidationException.cs
- SqlDataRecord.cs