Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / MS / Internal / IO / Packaging / IndexingContentUnit.cs / 1 / IndexingContentUnit.cs
//---------------------------------------------------------------------------- // // File: IndexingContentUnit.cs // // Description: // Object returned by the NextContentUnit method of XamlFilter. // An IndexingContentUnit contains a chunk and its contents. // // History: // 01/08/2004 - [....] Created // 08/26/2004: [....]: Removed access to indexing filters from managed code. // // Copyright (C) 2004 by Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using MS.Internal.Interop; // for CHUNK_BREAKTYPE namespace MS.Internal.IO.Packaging { ///A descriptor for a chunk, as returned by XamlFilter.NextContentUnit. internal class IndexingContentUnit : ManagedChunk { ///Build a contents chunk, passing the contents string and specifying whether it comes from a Glyphs element. ///The value of the chunk's contents property. ///An arbitrary Uint32 to identify each chunk returned by IFilter.GetChunk. ///The opening break for the chunk. ///A description of the property represented by the chunk. ///The locale ID for the chunk. internal IndexingContentUnit( string contents, uint chunkID, CHUNK_BREAKTYPE breakType, ManagedFullPropSpec attribute, uint lcid) : base(chunkID, breakType, attribute, lcid, CHUNKSTATE.CHUNK_TEXT) { _contents = contents; } ////// A utility to be used when one wants to reuse /// one object to hold different values in succession. /// internal void InitIndexingContentUnit( string contents, uint chunkID, CHUNK_BREAKTYPE breakType, ManagedFullPropSpec attribute, uint lcid) { _contents = contents; ID = chunkID; BreakType = breakType; Attribute = attribute; Locale = lcid; } ///The chunk's contents. internal string Text { get { return _contents; } } private string _contents; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EmbeddedObject.cs
- GroupPartitionExpr.cs
- CanonicalXml.cs
- ParseChildrenAsPropertiesAttribute.cs
- BaseTypeViewSchema.cs
- BinaryFormatterWriter.cs
- HttpGetProtocolImporter.cs
- TextCompositionEventArgs.cs
- DbModificationClause.cs
- SponsorHelper.cs
- StyleBamlRecordReader.cs
- ArraySet.cs
- DynamicQueryableWrapper.cs
- WeakReferenceEnumerator.cs
- ManualResetEvent.cs
- ConfigurationStrings.cs
- LinqDataSourceValidationException.cs
- CodeLabeledStatement.cs
- documentsequencetextview.cs
- CodeDOMProvider.cs
- SqlEnums.cs
- HtmlDocument.cs
- WebSysDisplayNameAttribute.cs
- KeySplineConverter.cs
- LoadMessageLogger.cs
- filewebresponse.cs
- SerializerProvider.cs
- RegexWriter.cs
- IMembershipProvider.cs
- DetailsViewDesigner.cs
- basevalidator.cs
- HttpCookieCollection.cs
- DataGridViewSelectedRowCollection.cs
- ClientRoleProvider.cs
- HandlerWithFactory.cs
- ObjectHandle.cs
- NetworkCredential.cs
- LineVisual.cs
- ProfileEventArgs.cs
- ClassImporter.cs
- Mapping.cs
- DesignSurfaceEvent.cs
- NonPrimarySelectionGlyph.cs
- DataGridViewComboBoxEditingControl.cs
- MenuItemCollection.cs
- _NegoStream.cs
- Geometry.cs
- SwitchElementsCollection.cs
- SecUtil.cs
- StreamSecurityUpgradeInitiator.cs
- RoutedCommand.cs
- TTSVoice.cs
- DataGridView.cs
- XmlLanguageConverter.cs
- CorrelationQueryBehavior.cs
- RowVisual.cs
- DecoderExceptionFallback.cs
- IgnoreDataMemberAttribute.cs
- ObjectRef.cs
- ControlIdConverter.cs
- GridItemPattern.cs
- FrameworkObject.cs
- AssemblyAssociatedContentFileAttribute.cs
- Guid.cs
- AuthenticationSection.cs
- InfoCardCryptoHelper.cs
- WebBrowserBase.cs
- EncoderFallback.cs
- DataSourceSelectArguments.cs
- DataGridViewCellCancelEventArgs.cs
- HTMLTextWriter.cs
- AccessDataSource.cs
- XmlLinkedNode.cs
- DataRowComparer.cs
- XmlSchemaInferenceException.cs
- ListViewGroupConverter.cs
- ConfigurationElementProperty.cs
- CapabilitiesPattern.cs
- XPathScanner.cs
- DispatcherFrame.cs
- CompilerInfo.cs
- SaveFileDialog.cs
- Marshal.cs
- ACL.cs
- EntityViewGenerationConstants.cs
- GeneralTransform3D.cs
- DurationConverter.cs
- DataViewManagerListItemTypeDescriptor.cs
- SafeNativeMethodsOther.cs
- SqlConnectionFactory.cs
- ContentPlaceHolder.cs
- SqlBooleanMismatchVisitor.cs
- ScriptResourceHandler.cs
- WebPartManagerInternals.cs
- GridViewPageEventArgs.cs
- Relationship.cs
- ExtendedProtectionPolicyElement.cs
- ActivityFunc.cs
- Crypto.cs
- URIFormatException.cs