Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Text / EncodingInfo.cs / 1305376 / EncodingInfo.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== namespace System.Text { using System; using System.Text; [Serializable] public sealed class EncodingInfo { int iCodePage; // Code Page # String strEncodingName; // Short name (web name) String strDisplayName; // Full localized name internal EncodingInfo(int codePage, string name, string displayName) { this.iCodePage = codePage; this.strEncodingName = name; this.strDisplayName = displayName; } public int CodePage { get { return iCodePage; } } public String Name { get { return strEncodingName; } } public String DisplayName { get { return strDisplayName; } } [System.Security.SecuritySafeCritical] // auto-generated public Encoding GetEncoding() { return Encoding.GetEncoding(this.iCodePage); } public override bool Equals(Object value) { EncodingInfo that = value as EncodingInfo; if (that != null) { return (this.CodePage == that.CodePage); } return (false); } public override int GetHashCode() { return this.CodePage; } } } // 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
- DynamicVirtualDiscoSearcher.cs
- TypedTableBase.cs
- RawUIStateInputReport.cs
- TextCompositionEventArgs.cs
- ToolStripCustomTypeDescriptor.cs
- StateMachineDesignerPaint.cs
- LocationUpdates.cs
- NumberAction.cs
- PointAnimationClockResource.cs
- CodeEntryPointMethod.cs
- SizeConverter.cs
- PropertyGeneratedEventArgs.cs
- CombinedGeometry.cs
- EnumConverter.cs
- FontSourceCollection.cs
- CollectionType.cs
- TwoPhaseCommit.cs
- RequestSecurityTokenResponse.cs
- VectorValueSerializer.cs
- KeyValueConfigurationCollection.cs
- AnnotationAuthorChangedEventArgs.cs
- DisplayInformation.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- TransactionManager.cs
- DesignerTransactionCloseEvent.cs
- FontInfo.cs
- XPathNode.cs
- TextElementEnumerator.cs
- BidOverLoads.cs
- SpecularMaterial.cs
- DeleteBookmarkScope.cs
- DatagridviewDisplayedBandsData.cs
- DispatchWrapper.cs
- CmsInterop.cs
- MaskedTextBoxTextEditorDropDown.cs
- CustomErrorsSection.cs
- PreparingEnlistment.cs
- ModelPropertyDescriptor.cs
- CompilerTypeWithParams.cs
- contentDescriptor.cs
- Point4DValueSerializer.cs
- ButtonField.cs
- PackageStore.cs
- BaseCollection.cs
- SystemIPGlobalProperties.cs
- _BaseOverlappedAsyncResult.cs
- WebServiceHandlerFactory.cs
- CalendarKeyboardHelper.cs
- ScalarConstant.cs
- DesignerPainter.cs
- SqlClientFactory.cs
- TextBox.cs
- HMACSHA1.cs
- CodeSubDirectoriesCollection.cs
- WebBaseEventKeyComparer.cs
- NumberFormatter.cs
- AnnotationStore.cs
- DesignerOptionService.cs
- DataSysAttribute.cs
- x509store.cs
- XmlILStorageConverter.cs
- NetworkAddressChange.cs
- RemoteWebConfigurationHostStream.cs
- HttpCachePolicyElement.cs
- TransformerInfo.cs
- SharedStatics.cs
- GlobalizationSection.cs
- XmlNodeChangedEventArgs.cs
- StorageBasedPackageProperties.cs
- DataGridViewComboBoxCell.cs
- PhysicalAddress.cs
- CatalogZoneBase.cs
- SqlXml.cs
- TableSectionStyle.cs
- DataSourceDescriptorCollection.cs
- ListItemCollection.cs
- ChtmlTextWriter.cs
- Rules.cs
- SoapElementAttribute.cs
- DependencyPropertyKey.cs
- GAC.cs
- Latin1Encoding.cs
- CacheDependency.cs
- ListItemParagraph.cs
- ToolboxItemAttribute.cs
- ProfileElement.cs
- ConfigUtil.cs
- SemaphoreFullException.cs
- HttpsTransportBindingElement.cs
- TextComposition.cs
- TextElementCollection.cs
- State.cs
- ImageButton.cs
- UserControl.cs
- Html32TextWriter.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BitmapEffect.cs
- HitTestWithPointDrawingContextWalker.cs
- DelegatingTypeDescriptionProvider.cs
- EdgeProfileValidation.cs