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
- TableRowGroupCollection.cs
- FilteredXmlReader.cs
- SqlExpander.cs
- ViewCellSlot.cs
- EncoderNLS.cs
- XamlDesignerSerializationManager.cs
- OpenTypeCommon.cs
- SystemWebCachingSectionGroup.cs
- GPRECT.cs
- CoTaskMemSafeHandle.cs
- Lasso.cs
- CircleHotSpot.cs
- Focus.cs
- IFlowDocumentViewer.cs
- localization.cs
- HealthMonitoringSectionHelper.cs
- ToolTipService.cs
- UpdateRecord.cs
- CheckBoxBaseAdapter.cs
- ZeroOpNode.cs
- ListViewTableRow.cs
- SymbolResolver.cs
- MinMaxParagraphWidth.cs
- OdbcError.cs
- AssemblyNameEqualityComparer.cs
- ParserStreamGeometryContext.cs
- MarshalByRefObject.cs
- DocComment.cs
- OdbcTransaction.cs
- ProtocolInformationWriter.cs
- SelectionRangeConverter.cs
- PersonalizablePropertyEntry.cs
- SafeNativeHandle.cs
- controlskin.cs
- MetroSerializationManager.cs
- DataSourceProvider.cs
- SerialPort.cs
- AnnotationStore.cs
- NeutralResourcesLanguageAttribute.cs
- WsdlBuildProvider.cs
- EventSourceCreationData.cs
- Marshal.cs
- HiddenFieldDesigner.cs
- IDReferencePropertyAttribute.cs
- BinaryEditor.cs
- CorrelationManager.cs
- ImageField.cs
- OdbcInfoMessageEvent.cs
- CacheVirtualItemsEvent.cs
- Walker.cs
- SmiEventSink.cs
- GradientPanel.cs
- DataGridParentRows.cs
- TimeoutValidationAttribute.cs
- InputReportEventArgs.cs
- ExpressionBuilderCollection.cs
- SqlExpander.cs
- TagPrefixInfo.cs
- TextBlock.cs
- HostedHttpContext.cs
- DLinqAssociationProvider.cs
- WebPartConnectionsCancelEventArgs.cs
- LoggedException.cs
- OrderToken.cs
- Rect3DConverter.cs
- Certificate.cs
- GlobalizationSection.cs
- PageAdapter.cs
- BrowserDefinition.cs
- RegistryExceptionHelper.cs
- mediapermission.cs
- CheckBoxPopupAdapter.cs
- TextServicesDisplayAttribute.cs
- XsdValidatingReader.cs
- WindowsTokenRoleProvider.cs
- HwndSource.cs
- HttpWebRequest.cs
- XmlDataContract.cs
- TreeNodeBinding.cs
- HtmlUtf8RawTextWriter.cs
- ProtectedProviderSettings.cs
- DeviceContext.cs
- brushes.cs
- QuaternionRotation3D.cs
- HashHelpers.cs
- ApplicationTrust.cs
- CompilerResults.cs
- MsdtcClusterUtils.cs
- AccessViolationException.cs
- SqlWriter.cs
- InvalidCommandTreeException.cs
- AutoResizedEvent.cs
- RSAOAEPKeyExchangeDeformatter.cs
- AttributeData.cs
- ScrollBarAutomationPeer.cs
- DBBindings.cs
- WebFaultClientMessageInspector.cs
- ConnectionConsumerAttribute.cs
- AppDomainManager.cs
- XPathDocumentNavigator.cs