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
- SrgsSubset.cs
- TextProperties.cs
- MethodExpr.cs
- DataViewListener.cs
- XmlSchemaGroupRef.cs
- SourceChangedEventArgs.cs
- RuntimeConfigurationRecord.cs
- ScopelessEnumAttribute.cs
- OrderedDictionary.cs
- LocalServiceSecuritySettings.cs
- SoapAttributeAttribute.cs
- ToolStrip.cs
- AssemblyHash.cs
- CompositeCollection.cs
- ZoneButton.cs
- LineInfo.cs
- arabicshape.cs
- GeneratedCodeAttribute.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ToolStripItemRenderEventArgs.cs
- NameValueCollection.cs
- WpfPayload.cs
- DataSourceHelper.cs
- InvalidProgramException.cs
- Point3D.cs
- SqlNodeTypeOperators.cs
- COM2PropertyPageUITypeConverter.cs
- documentsequencetextview.cs
- SevenBitStream.cs
- ItemAutomationPeer.cs
- CapabilitiesSection.cs
- OleStrCAMarshaler.cs
- DbDataSourceEnumerator.cs
- HwndSubclass.cs
- X509Certificate2Collection.cs
- ToolStripButton.cs
- RepeatButtonAutomationPeer.cs
- ExpandSegment.cs
- WorkflowHostingEndpoint.cs
- ContainerParaClient.cs
- XmlHierarchyData.cs
- OleDbReferenceCollection.cs
- InvokeGenerator.cs
- CodeVariableReferenceExpression.cs
- ValidatingCollection.cs
- BitmapCodecInfoInternal.cs
- CmsInterop.cs
- GetChildSubtree.cs
- WebPartCloseVerb.cs
- DataGridState.cs
- ApplicationManager.cs
- SchemaHelper.cs
- controlskin.cs
- GeneratedCodeAttribute.cs
- List.cs
- ProviderBase.cs
- AccessDataSourceDesigner.cs
- RegexCaptureCollection.cs
- DataGridViewAccessibleObject.cs
- SingleObjectCollection.cs
- SynchronizedRandom.cs
- ListenerSessionConnection.cs
- EllipticalNodeOperations.cs
- TdsRecordBufferSetter.cs
- KeyedCollection.cs
- ProxyHelper.cs
- WindowShowOrOpenTracker.cs
- ConfigurationCollectionAttribute.cs
- AppDomainFactory.cs
- GenericTextProperties.cs
- TabItemWrapperAutomationPeer.cs
- ExclusiveNamedPipeTransportManager.cs
- PresentationAppDomainManager.cs
- Attributes.cs
- RectAnimationClockResource.cs
- FloaterBaseParaClient.cs
- Config.cs
- ContractNamespaceAttribute.cs
- RawStylusInput.cs
- ScriptControlManager.cs
- NativeWrapper.cs
- SignatureToken.cs
- ActivitySurrogateSelector.cs
- DataControlLinkButton.cs
- ServerValidateEventArgs.cs
- XmlIlVisitor.cs
- RegexFCD.cs
- DesignerLoader.cs
- EventEntry.cs
- SqlTopReducer.cs
- CollectionContainer.cs
- tooltip.cs
- SchemaHelper.cs
- RouteParameter.cs
- SyntaxCheck.cs
- NetworkInterface.cs
- DebugView.cs
- PerfCounters.cs
- PeerUnsafeNativeMethods.cs
- InheritanceAttribute.cs