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
- PersonalizationAdministration.cs
- UIElementParaClient.cs
- SafeIUnknown.cs
- SerialReceived.cs
- PublisherMembershipCondition.cs
- NativeCppClassAttribute.cs
- TextTrailingWordEllipsis.cs
- ComponentRenameEvent.cs
- StatusBar.cs
- prefixendpointaddressmessagefilter.cs
- CustomAttributeSerializer.cs
- TypeUtils.cs
- StrokeNodeOperations2.cs
- ContentPropertyAttribute.cs
- DataSet.cs
- AutoResizedEvent.cs
- ImageButton.cs
- Subtree.cs
- DescendantBaseQuery.cs
- XmlTextEncoder.cs
- FlowDocumentFormatter.cs
- ChannelPool.cs
- HtmlForm.cs
- TextSelectionHelper.cs
- hwndwrapper.cs
- DispatcherEventArgs.cs
- Win32Native.cs
- StringUtil.cs
- ValueQuery.cs
- ButtonFieldBase.cs
- ComponentCache.cs
- CodeDOMUtility.cs
- EffectiveValueEntry.cs
- EdmTypeAttribute.cs
- cache.cs
- EDesignUtil.cs
- InvalidContentTypeException.cs
- IpcChannelHelper.cs
- ThrowOnMultipleAssignment.cs
- DataSourceUtil.cs
- ScriptManagerProxy.cs
- DeleteHelper.cs
- RoleManagerEventArgs.cs
- ConnectionStringSettings.cs
- GrammarBuilder.cs
- SurrogateChar.cs
- CheckBoxField.cs
- CodeDelegateInvokeExpression.cs
- WebBrowserContainer.cs
- CodeMemberProperty.cs
- ICspAsymmetricAlgorithm.cs
- ApplicationServiceManager.cs
- QueryPageSettingsEventArgs.cs
- DataSysAttribute.cs
- MembershipPasswordException.cs
- CheckPair.cs
- ToolStripContentPanelRenderEventArgs.cs
- TextEditorParagraphs.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- PictureBox.cs
- CloseCryptoHandleRequest.cs
- FaultReason.cs
- DateTimeFormat.cs
- ListViewUpdateEventArgs.cs
- CustomErrorsSection.cs
- WebPartConnection.cs
- JapaneseLunisolarCalendar.cs
- COM2Properties.cs
- Point3D.cs
- SetterBaseCollection.cs
- GeometryHitTestResult.cs
- ArgumentOutOfRangeException.cs
- MouseActionValueSerializer.cs
- ProfileParameter.cs
- _SSPISessionCache.cs
- TransferRequestHandler.cs
- Vector3DCollectionConverter.cs
- RightsManagementEncryptedStream.cs
- EnvelopedSignatureTransform.cs
- SlotInfo.cs
- TrustManager.cs
- LineProperties.cs
- SQLDoubleStorage.cs
- DataGridViewColumnTypePicker.cs
- CursorConverter.cs
- PropertyItemInternal.cs
- ListenerElementsCollection.cs
- SmiEventSink.cs
- Point.cs
- PathFigure.cs
- FieldNameLookup.cs
- SemanticKeyElement.cs
- NotFiniteNumberException.cs
- DBConnection.cs
- XmlArrayItemAttributes.cs
- Soap12ProtocolReflector.cs
- ObjectDataProvider.cs
- XmlValidatingReader.cs
- ConstantProjectedSlot.cs
- GlyphRun.cs