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
- EventLogger.cs
- XmlNodeChangedEventArgs.cs
- AncestorChangedEventArgs.cs
- MultiPropertyDescriptorGridEntry.cs
- ListViewItemSelectionChangedEvent.cs
- SystemIPAddressInformation.cs
- JumpItem.cs
- DefaultTraceListener.cs
- Scalars.cs
- Section.cs
- LinqDataSourceView.cs
- ThreadLocal.cs
- RequestStatusBarUpdateEventArgs.cs
- UpDownBase.cs
- WebPartsPersonalization.cs
- WebPartEditVerb.cs
- CopyAction.cs
- PartialCachingAttribute.cs
- BaseInfoTable.cs
- IndexOutOfRangeException.cs
- ColorKeyFrameCollection.cs
- AppDomainAttributes.cs
- EventDescriptorCollection.cs
- PersistNameAttribute.cs
- AppDomainCompilerProxy.cs
- ParallelQuery.cs
- Configuration.cs
- CodeGenerator.cs
- SessionPageStatePersister.cs
- XMLSyntaxException.cs
- _Events.cs
- SocketConnection.cs
- HtmlAnchor.cs
- GuidelineSet.cs
- UnsafeNativeMethods.cs
- PngBitmapEncoder.cs
- TypedElement.cs
- HttpListenerResponse.cs
- mediaclock.cs
- UnsettableComboBox.cs
- MultipartContentParser.cs
- MouseActionConverter.cs
- SmtpLoginAuthenticationModule.cs
- ToolboxItem.cs
- XmlILAnnotation.cs
- ListControlConvertEventArgs.cs
- SchemaAttDef.cs
- ScriptControl.cs
- XmlTextWriter.cs
- XmlExceptionHelper.cs
- XmlImplementation.cs
- TextElementCollection.cs
- TrackingProfileCache.cs
- OptionalRstParameters.cs
- MemoryRecordBuffer.cs
- ObjectListComponentEditor.cs
- ObfuscateAssemblyAttribute.cs
- cryptoapiTransform.cs
- PageContentAsyncResult.cs
- DataPager.cs
- ByteAnimationUsingKeyFrames.cs
- BrushConverter.cs
- ClientProxyGenerator.cs
- DataGridViewAdvancedBorderStyle.cs
- FaultHandlingFilter.cs
- EntityClientCacheKey.cs
- BindMarkupExtensionSerializer.cs
- AdornerLayer.cs
- SignatureGenerator.cs
- DataPagerCommandEventArgs.cs
- XmlUTF8TextWriter.cs
- FixedSOMImage.cs
- RepeaterCommandEventArgs.cs
- UpdateException.cs
- RowUpdatedEventArgs.cs
- SchemaTypeEmitter.cs
- FontCacheUtil.cs
- Unit.cs
- TableLayoutColumnStyleCollection.cs
- VariableAction.cs
- SurrogateChar.cs
- ListBoxAutomationPeer.cs
- SecureUICommand.cs
- SafeNativeMethods.cs
- HostedElements.cs
- SettingsSavedEventArgs.cs
- MimePart.cs
- DataBindingExpressionBuilder.cs
- PackageRelationshipCollection.cs
- CompiledQuery.cs
- IFormattable.cs
- sqlinternaltransaction.cs
- StyleCollectionEditor.cs
- DrawingServices.cs
- EnumMember.cs
- MatrixTransform.cs
- PartialTrustVisibleAssembliesSection.cs
- BaseValidator.cs
- ClassicBorderDecorator.cs
- PolyLineSegment.cs