Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Opcode.cs
- FrameworkTemplate.cs
- TypedDatasetGenerator.cs
- GetPageCompletedEventArgs.cs
- SessionPageStateSection.cs
- DataGridViewComboBoxCell.cs
- WizardPanel.cs
- TTSEngineTypes.cs
- RangeBaseAutomationPeer.cs
- SharedStatics.cs
- IgnoreFlushAndCloseStream.cs
- DeferredSelectedIndexReference.cs
- DynamicField.cs
- Animatable.cs
- XmlSchemaSimpleContent.cs
- ChangeBlockUndoRecord.cs
- _NTAuthentication.cs
- ScriptBehaviorDescriptor.cs
- InternalConfigHost.cs
- ToolStripGripRenderEventArgs.cs
- ServiceModelTimeSpanValidator.cs
- FreezableCollection.cs
- ToolboxComponentsCreatingEventArgs.cs
- UInt32Converter.cs
- Identity.cs
- CorrelationKey.cs
- DelegateBodyWriter.cs
- KeyboardNavigation.cs
- LocalizationParserHooks.cs
- BuildProvider.cs
- NamespaceInfo.cs
- DataBindingList.cs
- RelatedView.cs
- CreateUserWizardAutoFormat.cs
- MessageDesigner.cs
- MethodBuilder.cs
- InkCollectionBehavior.cs
- TypeInitializationException.cs
- ExtenderHelpers.cs
- DataGridItemEventArgs.cs
- SlipBehavior.cs
- MetadataItemCollectionFactory.cs
- TextTreeExtractElementUndoUnit.cs
- DeferredBinaryDeserializerExtension.cs
- GlyphCollection.cs
- InvalidProgramException.cs
- WebPartActionVerb.cs
- SchemaElementDecl.cs
- ToolBarButtonDesigner.cs
- OpenTypeLayout.cs
- XmlAnyElementAttributes.cs
- QueryResponse.cs
- MarshalDirectiveException.cs
- ConfigurationPropertyAttribute.cs
- ComContractElement.cs
- ExpressionBuilderContext.cs
- ToolStrip.cs
- HttpResponse.cs
- DataGridPageChangedEventArgs.cs
- StylusEventArgs.cs
- OleDbError.cs
- FixedDocument.cs
- WorkflowViewStateService.cs
- TextFindEngine.cs
- CalendarDesigner.cs
- GlyphRun.cs
- WindowPatternIdentifiers.cs
- PathStreamGeometryContext.cs
- FixedFlowMap.cs
- ProbeDuplex11AsyncResult.cs
- ReferencedCollectionType.cs
- Utils.cs
- DataGridItemCollection.cs
- HtmlGenericControl.cs
- Overlapped.cs
- ProtocolsConfiguration.cs
- NullEntityWrapper.cs
- RoutedEventValueSerializer.cs
- Crc32Helper.cs
- SamlAuthenticationClaimResource.cs
- GroupStyle.cs
- mediaeventshelper.cs
- EntityClientCacheEntry.cs
- AsyncResult.cs
- JobStaple.cs
- PreApplicationStartMethodAttribute.cs
- AlphaSortedEnumConverter.cs
- NotCondition.cs
- Encoder.cs
- FixedFindEngine.cs
- OracleInfoMessageEventArgs.cs
- PackWebRequestFactory.cs
- StyleConverter.cs
- BindableAttribute.cs
- TextEffect.cs
- MdbDataFileEditor.cs
- HMACSHA384.cs
- JsonWriterDelegator.cs
- PerformanceCounter.cs
- RuntimeArgumentHandle.cs