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
- DataViewListener.cs
- TriggerAction.cs
- BufferedWebEventProvider.cs
- ExpandSegmentCollection.cs
- MonitorWrapper.cs
- FileDialog_Vista.cs
- FixedHyperLink.cs
- SqlLiftWhereClauses.cs
- ToolStripSplitButton.cs
- EventHandlersStore.cs
- URLAttribute.cs
- DriveNotFoundException.cs
- SharedTcpTransportManager.cs
- ListSortDescription.cs
- FreezableOperations.cs
- Reference.cs
- CalculatedColumn.cs
- PartialArray.cs
- MenuItem.cs
- DataFormats.cs
- PartialCachingControl.cs
- SystemColors.cs
- ExternalCalls.cs
- WindowsListViewGroup.cs
- AdRotator.cs
- AttachedPropertyBrowsableAttribute.cs
- Renderer.cs
- Timeline.cs
- ScrollChrome.cs
- IChannel.cs
- IntSecurity.cs
- JoinTreeSlot.cs
- InkCanvasFeedbackAdorner.cs
- ResourcesGenerator.cs
- LoginAutoFormat.cs
- AlignmentYValidation.cs
- MissingManifestResourceException.cs
- UserControlParser.cs
- LayoutEngine.cs
- Profiler.cs
- elementinformation.cs
- GeneralTransform3DGroup.cs
- ReadWriteObjectLock.cs
- HtmlInputText.cs
- SectionRecord.cs
- BitStream.cs
- MetabaseServerConfig.cs
- Span.cs
- DataGridViewTextBoxColumn.cs
- GridViewRowEventArgs.cs
- CompilerScope.Storage.cs
- DataServiceConfiguration.cs
- DbInsertCommandTree.cs
- ProxyAttribute.cs
- ConnectionsZone.cs
- TimeBoundedCache.cs
- Int64Storage.cs
- MarshalByValueComponent.cs
- FixedPageAutomationPeer.cs
- NameNode.cs
- SqlNotificationEventArgs.cs
- SiteIdentityPermission.cs
- Argument.cs
- Calendar.cs
- CryptoApi.cs
- TextParaLineResult.cs
- SingleStorage.cs
- PermissionSetTriple.cs
- RootProfilePropertySettingsCollection.cs
- DataControlButton.cs
- RPIdentityRequirement.cs
- BaseAppDomainProtocolHandler.cs
- CodeAttributeArgumentCollection.cs
- ReadOnlyDataSourceView.cs
- SqlAliasesReferenced.cs
- HotCommands.cs
- RichTextBox.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- TTSEngineProxy.cs
- XmlObjectSerializerReadContext.cs
- Messages.cs
- AmbientProperties.cs
- ApplicationServicesHostFactory.cs
- DaylightTime.cs
- XmlSchemaGroup.cs
- EntityDataSourceChangedEventArgs.cs
- CellQuery.cs
- Positioning.cs
- QueryParameter.cs
- Stacktrace.cs
- ZipPackagePart.cs
- APCustomTypeDescriptor.cs
- _DomainName.cs
- InputDevice.cs
- X509AsymmetricSecurityKey.cs
- ScriptingSectionGroup.cs
- FormViewInsertedEventArgs.cs
- SqlDataSourceQueryConverter.cs
- ProgressBarRenderer.cs
- ZipIOLocalFileHeader.cs