Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / PointCollection.cs / 1 / PointCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Point collection partial class. // // // History: // 11/09/05 : [....] - Created // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Media.Media3D; using MS.Internal.PresentationCore; using System; using System.IO; using MS.Internal.Media; namespace System.Windows.Media { public partial class PointCollection { ////// Deserialize this object from BAML /// [FriendAccessAllowed] // Built into Core, also used by Framework. internal static object DeserializeFrom(BinaryReader reader) { // Get the size. uint count = reader.ReadUInt32() ; PointCollection collection = new PointCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Point point = new Point( XamlSerializationHelper.ReadDouble( reader ), XamlSerializationHelper.ReadDouble( reader ) ) ; collection.Add( point ); } return collection ; } } } // 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
- ComplexTypeEmitter.cs
- GenericArgumentsUpdater.cs
- ToolStripGripRenderEventArgs.cs
- EncryptedXml.cs
- EventLogInformation.cs
- ExtensionSimplifierMarkupObject.cs
- JsonGlobals.cs
- TimerElapsedEvenArgs.cs
- Stopwatch.cs
- EmbeddedObject.cs
- AxWrapperGen.cs
- CountAggregationOperator.cs
- SqlParameter.cs
- SingleResultAttribute.cs
- WebPartDescriptionCollection.cs
- FormsAuthenticationUser.cs
- ConstraintEnumerator.cs
- WebPartDescriptionCollection.cs
- ThreadWorkerController.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- RowsCopiedEventArgs.cs
- NamespaceExpr.cs
- DataBindingCollectionEditor.cs
- Rfc2898DeriveBytes.cs
- AssemblyCacheEntry.cs
- BufferModesCollection.cs
- SessionStateUtil.cs
- RemotingServices.cs
- OperationAbortedException.cs
- BuildResultCache.cs
- MetadataItem_Static.cs
- Guid.cs
- AgileSafeNativeMemoryHandle.cs
- SqlConnectionManager.cs
- EntityRecordInfo.cs
- TransactionException.cs
- SectionVisual.cs
- SecurityKeyType.cs
- RegexWriter.cs
- ResourceManager.cs
- GPPOINTF.cs
- LightweightCodeGenerator.cs
- ItemMap.cs
- RightsManagementInformation.cs
- ValidationEventArgs.cs
- AutomationIdentifier.cs
- BitVector32.cs
- Positioning.cs
- EntityDataReader.cs
- NativeMethods.cs
- PropertyMetadata.cs
- MissingManifestResourceException.cs
- WebConfigurationFileMap.cs
- Vector.cs
- XmlWellformedWriterHelpers.cs
- keycontainerpermission.cs
- TabControlEvent.cs
- FlowLayoutSettings.cs
- VideoDrawing.cs
- Restrictions.cs
- SqlAliasesReferenced.cs
- CryptoConfig.cs
- BuildManagerHost.cs
- MetadataArtifactLoaderResource.cs
- Identifier.cs
- CodeIdentifier.cs
- CodeTypeDeclarationCollection.cs
- PrinterUnitConvert.cs
- BasicHttpMessageCredentialType.cs
- IdentifierService.cs
- UnaryOperationBinder.cs
- StatusBarItemAutomationPeer.cs
- DataSourceDesigner.cs
- SqlConnectionPoolGroupProviderInfo.cs
- GeneratedCodeAttribute.cs
- SelectedGridItemChangedEvent.cs
- CommandConverter.cs
- RuntimeVariableList.cs
- ExtensionDataReader.cs
- ContainerUIElement3D.cs
- ExpandableObjectConverter.cs
- DataServiceQueryException.cs
- DataGridState.cs
- Crc32Helper.cs
- XmlPropertyBag.cs
- DataControlImageButton.cs
- CodeAttachEventStatement.cs
- IPGlobalProperties.cs
- HttpCachePolicyWrapper.cs
- MimePart.cs
- ArraySortHelper.cs
- RemotingConfiguration.cs
- DataGrid.cs
- WebBrowserContainer.cs
- CssTextWriter.cs
- input.cs
- HtmlTableRowCollection.cs
- HashCryptoHandle.cs
- SystemFonts.cs
- TypeConverterAttribute.cs