Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Empty.cs / 1 / Empty.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// // Empty // This class represents an empty variant //////////////////////////////////////////////////////////////////////////////// namespace System { using System; using System.Runtime.Remoting; using System.Runtime.Serialization; [Serializable()] internal sealed class Empty : ISerializable { private Empty() { } public static readonly Empty Value = new Empty(); public override String ToString() { return String.Empty; } public void GetObjectData(SerializationInfo info, StreamingContext context) { if (info==null) { throw new ArgumentNullException("info"); } UnitySerializationHolder.GetUnitySerializationInfo(info, UnitySerializationHolder.EmptyUnity, null, null); } } }
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SoapSchemaImporter.cs
- NamespaceQuery.cs
- Utils.cs
- SafeCryptoHandles.cs
- DesignOnlyAttribute.cs
- Matrix3DValueSerializer.cs
- SqlTypesSchemaImporter.cs
- BooleanExpr.cs
- Size3D.cs
- ResourcePart.cs
- SoapElementAttribute.cs
- ZipFileInfo.cs
- TreeWalkHelper.cs
- Timer.cs
- CallbackException.cs
- SetIndexBinder.cs
- LinqDataSourceValidationException.cs
- ParameterCollection.cs
- CallbackValidator.cs
- TypeDependencyAttribute.cs
- HtmlTableRowCollection.cs
- PrivilegeNotHeldException.cs
- SubqueryRules.cs
- BooleanFacetDescriptionElement.cs
- MergePropertyDescriptor.cs
- StringUtil.cs
- ProxyDataContractResolver.cs
- WebBrowserBase.cs
- FigureParaClient.cs
- ValidationPropertyAttribute.cs
- ScriptManager.cs
- ListViewUpdateEventArgs.cs
- CodeGenerator.cs
- CommonDialog.cs
- ConfigurationLockCollection.cs
- CroppedBitmap.cs
- LogFlushAsyncResult.cs
- _RequestCacheProtocol.cs
- ValueHandle.cs
- ComPlusContractBehavior.cs
- WindowsPen.cs
- LinearQuaternionKeyFrame.cs
- UnsafeNativeMethods.cs
- XmlSchemaAppInfo.cs
- TargetControlTypeCache.cs
- RegexCompilationInfo.cs
- PersonalizablePropertyEntry.cs
- ActivationServices.cs
- UserNamePasswordValidator.cs
- DataGridViewColumnCollection.cs
- safesecurityhelperavalon.cs
- SQLCharsStorage.cs
- ColorTranslator.cs
- WebBrowserDocumentCompletedEventHandler.cs
- HtmlTernaryTree.cs
- StoreContentChangedEventArgs.cs
- _SSPIWrapper.cs
- ResourceDescriptionAttribute.cs
- DbExpressionVisitor.cs
- COM2ExtendedUITypeEditor.cs
- PageRequestManager.cs
- ProxyHelper.cs
- GlyphElement.cs
- TypedTableBaseExtensions.cs
- SqlReferenceCollection.cs
- transactioncontext.cs
- DataServiceQueryProvider.cs
- ServiceMoniker.cs
- TextBlockAutomationPeer.cs
- XmlUtf8RawTextWriter.cs
- ModelPropertyCollectionImpl.cs
- ResolveMatchesApril2005.cs
- ConfigUtil.cs
- EndOfStreamException.cs
- Rect.cs
- VideoDrawing.cs
- DataSysAttribute.cs
- GeneralTransform3DGroup.cs
- QilUnary.cs
- ItemsChangedEventArgs.cs
- EntryPointNotFoundException.cs
- MetadataSerializer.cs
- GifBitmapDecoder.cs
- TabItemAutomationPeer.cs
- InputLanguageSource.cs
- listitem.cs
- URL.cs
- Faults.cs
- HttpHandlersSection.cs
- FormatConvertedBitmap.cs
- WorkflowOperationContext.cs
- GridViewUpdatedEventArgs.cs
- MessageDescription.cs
- TypeSystemProvider.cs
- Propagator.JoinPropagator.cs
- SafeFileMappingHandle.cs
- FixedFlowMap.cs
- ConfigXmlSignificantWhitespace.cs
- DefaultValueTypeConverter.cs
- RangeValuePatternIdentifiers.cs