Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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() { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TabletDeviceInfo.cs
- TimelineCollection.cs
- OptimizerPatterns.cs
- RemotingAttributes.cs
- CultureSpecificStringDictionary.cs
- SmiMetaData.cs
- ConnectionsZone.cs
- Double.cs
- DataGridLinkButton.cs
- InputLanguageProfileNotifySink.cs
- IndexerHelper.cs
- CacheAxisQuery.cs
- StylusPlugin.cs
- ImageSourceConverter.cs
- CookieParameter.cs
- Help.cs
- SchemaObjectWriter.cs
- BufferCache.cs
- View.cs
- StringReader.cs
- XmlFormatWriterGenerator.cs
- TableLayoutColumnStyleCollection.cs
- TabItem.cs
- UnsafeNetInfoNativeMethods.cs
- ChineseLunisolarCalendar.cs
- InnerItemCollectionView.cs
- DescendantQuery.cs
- dbdatarecord.cs
- FixedSOMPageElement.cs
- ArrayList.cs
- DbgUtil.cs
- AssemblyCacheEntry.cs
- SettingsSavedEventArgs.cs
- DataGridViewRowCollection.cs
- DataGridViewCellConverter.cs
- WebEventTraceProvider.cs
- TargetControlTypeCache.cs
- DataSetMappper.cs
- WMIInterop.cs
- SamlDelegatingWriter.cs
- CodeObjectCreateExpression.cs
- ASCIIEncoding.cs
- ActivityExecutionWorkItem.cs
- InputScopeNameConverter.cs
- FrameworkContentElementAutomationPeer.cs
- MyContact.cs
- NestedContainer.cs
- ApplicationSecurityInfo.cs
- SystemIPGlobalStatistics.cs
- WebPartMinimizeVerb.cs
- XPathBinder.cs
- StrongName.cs
- ByeOperationAsyncResult.cs
- HtmlInputImage.cs
- ReflectionTypeLoadException.cs
- xamlnodes.cs
- InvalidDataContractException.cs
- ComContractElement.cs
- ColumnMapProcessor.cs
- DataGridViewTextBoxEditingControl.cs
- GridViewColumn.cs
- Variable.cs
- XmlSchemaComplexType.cs
- FeatureManager.cs
- SizeLimitedCache.cs
- AlternateViewCollection.cs
- DataGridViewDataConnection.cs
- ListBoxItemAutomationPeer.cs
- ConnectionProviderAttribute.cs
- ProcessDesigner.cs
- MenuRenderer.cs
- UserControlCodeDomTreeGenerator.cs
- XmlAttribute.cs
- DropDownList.cs
- DbException.cs
- DropShadowBitmapEffect.cs
- GPStream.cs
- PersistChildrenAttribute.cs
- BindValidationContext.cs
- VarRefManager.cs
- PropertyOverridesTypeEditor.cs
- IPEndPoint.cs
- Block.cs
- SpoolingTaskBase.cs
- MeshGeometry3D.cs
- VectorAnimationUsingKeyFrames.cs
- SqlBuilder.cs
- TextClipboardData.cs
- Partitioner.cs
- StreamResourceInfo.cs
- Point.cs
- State.cs
- LookupBindingPropertiesAttribute.cs
- HttpWebRequestElement.cs
- SqlWebEventProvider.cs
- XmlLangPropertyAttribute.cs
- XPathDocumentBuilder.cs
- DataBinder.cs
- SingleSelectRootGridEntry.cs
- TableRowGroupCollection.cs