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
- DataServiceKeyAttribute.cs
- ScrollContentPresenter.cs
- UriTemplateQueryValue.cs
- SpellerError.cs
- DataGridViewMethods.cs
- GestureRecognizer.cs
- MissingSatelliteAssemblyException.cs
- DiagnosticEventProvider.cs
- StreamGeometry.cs
- ArrayHelper.cs
- ServiceOperationInvoker.cs
- CellRelation.cs
- TdsParameterSetter.cs
- AspCompat.cs
- PageAdapter.cs
- FixedSOMImage.cs
- Hash.cs
- StylusCollection.cs
- FaultPropagationRecord.cs
- FileDialog_Vista_Interop.cs
- UiaCoreApi.cs
- HMACSHA1.cs
- ResourceDescriptionAttribute.cs
- AttributeProviderAttribute.cs
- ProfileBuildProvider.cs
- SuppressMergeCheckAttribute.cs
- WhitespaceRuleReader.cs
- CommandBinding.cs
- ShapeTypeface.cs
- ScriptManagerProxy.cs
- MimePart.cs
- TreeNodeCollection.cs
- SqlGatherConsumedAliases.cs
- WebPartManager.cs
- IsolatedStorageException.cs
- Animatable.cs
- RegexMatch.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- GenericsInstances.cs
- DependencyObjectProvider.cs
- SafeNativeMethods.cs
- RequestTimeoutManager.cs
- FileResponseElement.cs
- XmlDataSourceNodeDescriptor.cs
- SQLString.cs
- SerializationHelper.cs
- HttpListenerResponse.cs
- CapabilitiesPattern.cs
- ZipIOExtraFieldPaddingElement.cs
- TraceHwndHost.cs
- IOException.cs
- BinaryReader.cs
- ImpersonateTokenRef.cs
- DataContext.cs
- ProviderException.cs
- ViewStateModeByIdAttribute.cs
- DateTimeFormatInfoScanner.cs
- NativeMethods.cs
- TrackingValidationObjectDictionary.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- SelectorAutomationPeer.cs
- XamlWriter.cs
- TreeNodeEventArgs.cs
- compensatingcollection.cs
- ScanQueryOperator.cs
- DataSourceHelper.cs
- ArgIterator.cs
- Freezable.cs
- SelectedDatesCollection.cs
- EntitySqlException.cs
- SafeIUnknown.cs
- PageAsyncTaskManager.cs
- InitializerFacet.cs
- DataBoundControlAdapter.cs
- X509SubjectKeyIdentifierClause.cs
- BufferedReceiveElement.cs
- InkCanvasAutomationPeer.cs
- HitTestFilterBehavior.cs
- NamespaceDecl.cs
- Wildcard.cs
- LowerCaseStringConverter.cs
- ApplicationSecurityInfo.cs
- RegularExpressionValidator.cs
- IPipelineRuntime.cs
- WebBaseEventKeyComparer.cs
- CodeEntryPointMethod.cs
- TouchesCapturedWithinProperty.cs
- WebScriptEnablingElement.cs
- WindowAutomationPeer.cs
- base64Transforms.cs
- SHA1Cng.cs
- ExpressionHelper.cs
- AuditLogLocation.cs
- BrowserCapabilitiesFactoryBase.cs
- FixedPageAutomationPeer.cs
- StringUtil.cs
- Scalars.cs
- CollectionBase.cs
- BooleanToVisibilityConverter.cs
- HGlobalSafeHandle.cs