Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / NonSerializedAttribute.cs / 1 / NonSerializedAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: NonSerializedAttribute ** ** ** Purpose: Used to mark a member as being not-serialized ** ** ============================================================*/ namespace System { using System.Reflection; [AttributeUsage(AttributeTargets.Field, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class NonSerializedAttribute : Attribute { internal static Attribute GetCustomAttribute(RuntimeFieldInfo field) { if ((field.Attributes & FieldAttributes.NotSerialized) == 0) return null; return new NonSerializedAttribute(); } internal static bool IsDefined(RuntimeFieldInfo field) { return (field.Attributes & FieldAttributes.NotSerialized) != 0; } public NonSerializedAttribute() { } } } // 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
- OleDbCommandBuilder.cs
- XmlSerializationReader.cs
- Underline.cs
- MruCache.cs
- IdnMapping.cs
- ComponentResourceKeyConverter.cs
- GridToolTip.cs
- CustomExpressionEventArgs.cs
- AdornerDecorator.cs
- ConsoleTraceListener.cs
- TextFormatter.cs
- CommandLibraryHelper.cs
- DelayedRegex.cs
- ReferencedCollectionType.cs
- AppDomainUnloadedException.cs
- EventHandlerList.cs
- AudioStateChangedEventArgs.cs
- ReversePositionQuery.cs
- MimeBasePart.cs
- NonPrimarySelectionGlyph.cs
- CodeObject.cs
- FormatConvertedBitmap.cs
- SystemIPAddressInformation.cs
- WeakHashtable.cs
- ItemList.cs
- ToolboxItemFilterAttribute.cs
- ClientConfigPaths.cs
- BindingSourceDesigner.cs
- SystemInfo.cs
- XmlHierarchicalEnumerable.cs
- DataGridBoolColumn.cs
- PixelFormatConverter.cs
- FileLoadException.cs
- DataTemplateKey.cs
- Pick.cs
- StylusDevice.cs
- DataSourceProvider.cs
- HttpModulesSection.cs
- Label.cs
- GridProviderWrapper.cs
- ReferenceSchema.cs
- TransformedBitmap.cs
- XamlHostingSection.cs
- DispatcherHookEventArgs.cs
- VectorCollectionConverter.cs
- XmlSchemaComplexType.cs
- RunWorkerCompletedEventArgs.cs
- BamlResourceSerializer.cs
- XmlDataSourceNodeDescriptor.cs
- DbXmlEnabledProviderManifest.cs
- CheckBoxBaseAdapter.cs
- EpmTargetPathSegment.cs
- GenericsInstances.cs
- MsmqTransportElement.cs
- MenuStrip.cs
- Task.cs
- FilteredXmlReader.cs
- TextDataBindingHandler.cs
- ManipulationStartedEventArgs.cs
- _Rfc2616CacheValidators.cs
- ResolveCriteriaApril2005.cs
- StreamSecurityUpgradeInitiator.cs
- Encoder.cs
- WinEventHandler.cs
- ToolBarButtonClickEvent.cs
- TextEndOfLine.cs
- MulticastNotSupportedException.cs
- ByteAnimationBase.cs
- ThemeInfoAttribute.cs
- MarshalByRefObject.cs
- _ListenerAsyncResult.cs
- Subtree.cs
- PrincipalPermission.cs
- SqlCommandSet.cs
- SqlCachedBuffer.cs
- ResourcePermissionBase.cs
- HTTPNotFoundHandler.cs
- DataSourceProvider.cs
- RegexTypeEditor.cs
- HttpApplication.cs
- CqlErrorHelper.cs
- ToolStripPanelDesigner.cs
- TypeTypeConverter.cs
- SafeNativeMethodsMilCoreApi.cs
- coordinator.cs
- Attributes.cs
- KeyTime.cs
- TableParagraph.cs
- returneventsaver.cs
- DependencyObjectPropertyDescriptor.cs
- TextEditorMouse.cs
- ActivityInterfaces.cs
- PersonalizationStateInfo.cs
- TypedTableBaseExtensions.cs
- Rectangle.cs
- InfiniteIntConverter.cs
- XmlElementAttributes.cs
- TextLineBreak.cs
- DocumentReference.cs
- SiteMap.cs