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
- PaintValueEventArgs.cs
- ActiveDocumentEvent.cs
- ExplicitDiscriminatorMap.cs
- MetadataSet.cs
- VerificationAttribute.cs
- WhitespaceReader.cs
- DropDownButton.cs
- XmlAutoDetectWriter.cs
- PageBuildProvider.cs
- FunctionMappingTranslator.cs
- RegexNode.cs
- WebPartZoneBase.cs
- AssociativeAggregationOperator.cs
- GenericAuthenticationEventArgs.cs
- MarkupCompiler.cs
- ObjectMemberMapping.cs
- FindCriteriaApril2005.cs
- ComponentRenameEvent.cs
- PasswordBox.cs
- WebPartConnectionsEventArgs.cs
- BinaryCommonClasses.cs
- SiteMapProvider.cs
- DateTimeFormatInfo.cs
- Soap.cs
- RuntimeConfig.cs
- BitmapSourceSafeMILHandle.cs
- SoundPlayer.cs
- Rect.cs
- TargetParameterCountException.cs
- WindowsToolbarAsMenu.cs
- ListView.cs
- NavigationProperty.cs
- ColorTranslator.cs
- Transform.cs
- TypeLibConverter.cs
- OperationGenerator.cs
- RangeValidator.cs
- NotifyCollectionChangedEventArgs.cs
- MenuAutomationPeer.cs
- NominalTypeEliminator.cs
- XPathScanner.cs
- WSHttpBinding.cs
- GeometryValueSerializer.cs
- PagedDataSource.cs
- SqlCachedBuffer.cs
- WindowsListViewItemStartMenu.cs
- SoapProtocolImporter.cs
- AppDomainEvidenceFactory.cs
- HostedHttpRequestAsyncResult.cs
- SQLRoleProvider.cs
- QuotedStringFormatReader.cs
- SafeNativeMemoryHandle.cs
- TypeReference.cs
- LicenseException.cs
- WebPartDisplayModeEventArgs.cs
- XslAst.cs
- XmlStringTable.cs
- WorkflowDesigner.cs
- DelegatingTypeDescriptionProvider.cs
- MethodBody.cs
- XPSSignatureDefinition.cs
- NameValueConfigurationElement.cs
- AspProxy.cs
- WebPartZoneBase.cs
- DataContractSerializerElement.cs
- DefaultValueTypeConverter.cs
- PerformanceCounterManager.cs
- TabletCollection.cs
- SrgsSubset.cs
- RightsManagementUser.cs
- OneToOneMappingSerializer.cs
- Attributes.cs
- NotifyParentPropertyAttribute.cs
- ACE.cs
- InternalRelationshipCollection.cs
- XmlSchemaSimpleContentExtension.cs
- unsafeIndexingFilterStream.cs
- TextParaClient.cs
- MailHeaderInfo.cs
- SHA384.cs
- PixelFormats.cs
- GenerateHelper.cs
- TextEndOfParagraph.cs
- Tuple.cs
- PathSegment.cs
- PolyBezierSegment.cs
- TextBoxAutomationPeer.cs
- Win32.cs
- WebPartTransformerCollection.cs
- StoryFragments.cs
- TTSEngineProxy.cs
- SqlBulkCopyColumnMappingCollection.cs
- CodeThrowExceptionStatement.cs
- XmlLoader.cs
- ExpressionEditor.cs
- XPathItem.cs
- Assembly.cs
- GlyphRun.cs
- UnicodeEncoding.cs
- BamlTreeNode.cs