Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / NonSerializedAttribute.cs / 1305376 / 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.
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
- SerializationHelper.cs
- AddDataControlFieldDialog.cs
- UnlockInstanceAsyncResult.cs
- DataColumnMapping.cs
- TypeContext.cs
- _SslStream.cs
- CompositionAdorner.cs
- System.Data.OracleClient_BID.cs
- StringSource.cs
- ByteStreamMessageUtility.cs
- ValidationEventArgs.cs
- HtmlMeta.cs
- PaperSize.cs
- ChannelManager.cs
- EventInfo.cs
- ReflectionTypeLoadException.cs
- PenLineCapValidation.cs
- GridViewUpdatedEventArgs.cs
- PeerTransportListenAddressValidatorAttribute.cs
- OledbConnectionStringbuilder.cs
- ToolTipService.cs
- MatrixStack.cs
- SqlDataSourceFilteringEventArgs.cs
- HitTestResult.cs
- ImageSource.cs
- XmlDictionary.cs
- x509store.cs
- ParameterModifier.cs
- MouseBinding.cs
- WsatTransactionHeader.cs
- PriorityQueue.cs
- PreProcessor.cs
- StreamUpdate.cs
- HttpApplicationFactory.cs
- LogArchiveSnapshot.cs
- FontStyles.cs
- DataListItem.cs
- BinaryNode.cs
- EvidenceTypeDescriptor.cs
- FixedPosition.cs
- DataGridViewIntLinkedList.cs
- UIPropertyMetadata.cs
- DbProviderManifest.cs
- ReadOnlyDataSource.cs
- MenuBase.cs
- PointConverter.cs
- RelationalExpressions.cs
- LayoutUtils.cs
- BreakRecordTable.cs
- WmlListAdapter.cs
- ListBoxItemWrapperAutomationPeer.cs
- IgnorePropertiesAttribute.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DataStreamFromComStream.cs
- CheckedPointers.cs
- IisTraceWebEventProvider.cs
- ExtenderProvidedPropertyAttribute.cs
- BindingsCollection.cs
- DocumentSequenceHighlightLayer.cs
- MonthChangedEventArgs.cs
- ICspAsymmetricAlgorithm.cs
- ConfigXmlWhitespace.cs
- ComponentEditorPage.cs
- EnvelopedPkcs7.cs
- Keywords.cs
- ObjectDataSourceEventArgs.cs
- MatrixTransform3D.cs
- XmlWriterSettings.cs
- DataGridViewUtilities.cs
- RuntimeHandles.cs
- BinHexDecoder.cs
- XmlSchemaSequence.cs
- KeyManager.cs
- SortDescription.cs
- SafeRegistryHandle.cs
- SoapCodeExporter.cs
- ComboBoxDesigner.cs
- ArrayTypeMismatchException.cs
- GeneralTransform3DCollection.cs
- CalendarDayButton.cs
- DataGridViewCellStyle.cs
- ButtonBaseAutomationPeer.cs
- CaseInsensitiveComparer.cs
- GCHandleCookieTable.cs
- PhysicalAddress.cs
- InheritanceAttribute.cs
- CacheAxisQuery.cs
- Column.cs
- GetWinFXPath.cs
- Tracking.cs
- ListView.cs
- CapabilitiesRule.cs
- ServiceHttpModule.cs
- DbgCompiler.cs
- ProjectionQueryOptionExpression.cs
- CollectionConverter.cs
- ComponentFactoryHelpers.cs
- TransformPatternIdentifiers.cs
- TextTreeRootTextBlock.cs
- MarkupWriter.cs