Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Text / EncodingInfo.cs / 1 / 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; } } 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecureStringHasher.cs
- DynamicResourceExtensionConverter.cs
- Thumb.cs
- CryptoProvider.cs
- ContentType.cs
- httpapplicationstate.cs
- MessageOperationFormatter.cs
- ReadOnlyTernaryTree.cs
- PropertyCollection.cs
- SelectionEditingBehavior.cs
- StaticTextPointer.cs
- DataServiceHost.cs
- TransformedBitmap.cs
- AsymmetricKeyExchangeDeformatter.cs
- KerberosSecurityTokenProvider.cs
- ExclusiveCanonicalizationTransform.cs
- CompatibleComparer.cs
- CredentialSelector.cs
- QilBinary.cs
- DataPointer.cs
- XPathAncestorIterator.cs
- NavigationEventArgs.cs
- Image.cs
- TranslateTransform.cs
- QilLiteral.cs
- TextServicesCompartment.cs
- Misc.cs
- ReaderContextStackData.cs
- RootProfilePropertySettingsCollection.cs
- TransferRequestHandler.cs
- AssemblyBuilderData.cs
- NetTcpBindingCollectionElement.cs
- MarshalByValueComponent.cs
- ListControl.cs
- Transform.cs
- UnmanagedMarshal.cs
- SqlEnums.cs
- PtsContext.cs
- DataContractJsonSerializerOperationFormatter.cs
- XmlFormatReaderGenerator.cs
- DLinqTableProvider.cs
- DateTimeParse.cs
- UniqueIdentifierService.cs
- HWStack.cs
- RolePrincipal.cs
- NativeActivityAbortContext.cs
- WorkflowView.cs
- RequestCacheEntry.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- CatalogPart.cs
- PageHandlerFactory.cs
- NumberAction.cs
- SortedSet.cs
- ExternalException.cs
- FileLogRecordEnumerator.cs
- TransformValueSerializer.cs
- SqlTopReducer.cs
- HttpTransportBindingElement.cs
- SubtreeProcessor.cs
- IconHelper.cs
- TableItemPattern.cs
- StylusPointCollection.cs
- DXD.cs
- DescendantBaseQuery.cs
- DescendantBaseQuery.cs
- Vector3DAnimationBase.cs
- ElementProxy.cs
- SamlAssertionKeyIdentifierClause.cs
- Nullable.cs
- XmlSchemaComplexContentExtension.cs
- QueryCacheKey.cs
- CngKeyCreationParameters.cs
- CardSpaceSelector.cs
- FlowLayout.cs
- MetadataCache.cs
- XmlTextReaderImplHelpers.cs
- HybridObjectCache.cs
- OuterGlowBitmapEffect.cs
- FontFamilyConverter.cs
- Int64Storage.cs
- SerialStream.cs
- DateRangeEvent.cs
- ScrollBarAutomationPeer.cs
- RoleManagerEventArgs.cs
- MenuItemStyleCollection.cs
- controlskin.cs
- CodeExpressionStatement.cs
- ExpressionLexer.cs
- GraphicsState.cs
- IISUnsafeMethods.cs
- FlowNode.cs
- StringBuilder.cs
- SamlConditions.cs
- WindowsTreeView.cs
- SafeMemoryMappedFileHandle.cs
- EndPoint.cs
- XmlDownloadManager.cs
- BufferModeSettings.cs
- SmiMetaData.cs
- CurrentChangedEventManager.cs