Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / 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
- COAUTHINFO.cs
- FrameworkContentElementAutomationPeer.cs
- XPathNodeIterator.cs
- HtmlTextArea.cs
- FileResponseElement.cs
- DataSourceControlBuilder.cs
- SelectionRange.cs
- ExecutionEngineException.cs
- PrinterResolution.cs
- ProfilePropertyNameValidator.cs
- EmptyQuery.cs
- RegisteredExpandoAttribute.cs
- Separator.cs
- CurrentTimeZone.cs
- ServiceHostFactory.cs
- TextEditorMouse.cs
- SortedList.cs
- EventArgs.cs
- CounterCreationDataConverter.cs
- Underline.cs
- LinkedResourceCollection.cs
- InvalidOleVariantTypeException.cs
- OleDbDataAdapter.cs
- LayoutExceptionEventArgs.cs
- PointAnimationClockResource.cs
- TransportReplyChannelAcceptor.cs
- QueryCacheKey.cs
- SymbolType.cs
- DSACryptoServiceProvider.cs
- ItemAutomationPeer.cs
- DependencyObjectPropertyDescriptor.cs
- SqlBinder.cs
- SQLDateTime.cs
- DataGridItemEventArgs.cs
- StdValidatorsAndConverters.cs
- GridViewColumn.cs
- TextSpan.cs
- AuthenticationConfig.cs
- XmlSchemaAnnotated.cs
- NetStream.cs
- FileDetails.cs
- EntityDesignerDataSourceView.cs
- TypeLoadException.cs
- ElementHostAutomationPeer.cs
- ItemCheckEvent.cs
- QilChoice.cs
- MessageVersion.cs
- PeerResolverElement.cs
- SortedDictionary.cs
- ChoiceConverter.cs
- AttachedProperty.cs
- PaintValueEventArgs.cs
- SqlWebEventProvider.cs
- DataBinding.cs
- Span.cs
- DescendantBaseQuery.cs
- ExceptionRoutedEventArgs.cs
- FixedPageProcessor.cs
- WindowsGraphics.cs
- StatusStrip.cs
- StatusBarItemAutomationPeer.cs
- XmlNodeList.cs
- MultiAsyncResult.cs
- HtmlControlPersistable.cs
- ShapeTypeface.cs
- CqlWriter.cs
- SecurityCriticalDataForSet.cs
- TextTreePropertyUndoUnit.cs
- SortDescriptionCollection.cs
- CodeDomExtensionMethods.cs
- ElementProxy.cs
- PolyQuadraticBezierSegment.cs
- HostingEnvironment.cs
- ConstNode.cs
- OutputCacheProfileCollection.cs
- ParenthesizePropertyNameAttribute.cs
- ToolStrip.cs
- ColumnCollection.cs
- Tokenizer.cs
- PermissionAttributes.cs
- SamlDelegatingWriter.cs
- CodeVariableDeclarationStatement.cs
- Page.cs
- RawKeyboardInputReport.cs
- Executor.cs
- SqlTopReducer.cs
- HostingPreferredMapPath.cs
- ModifierKeysConverter.cs
- QuaternionIndependentAnimationStorage.cs
- EntitySqlQueryBuilder.cs
- SQLUtility.cs
- MessageQueuePermissionEntry.cs
- SamlSecurityTokenAuthenticator.cs
- DataErrorValidationRule.cs
- ChtmlFormAdapter.cs
- SerializerWriterEventHandlers.cs
- HandleCollector.cs
- MetadataArtifactLoader.cs
- DecimalStorage.cs
- SqlUDTStorage.cs