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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IriParsingElement.cs
- PrintPreviewControl.cs
- TextBoxView.cs
- ThreadPool.cs
- ClientUtils.cs
- MediaEntryAttribute.cs
- SymmetricKeyWrap.cs
- MessageQueueInstaller.cs
- SoapCommonClasses.cs
- Debug.cs
- AspNetHostingPermission.cs
- CultureInfo.cs
- TypefaceCollection.cs
- WebPartHeaderCloseVerb.cs
- ResourceIDHelper.cs
- FormViewInsertEventArgs.cs
- GPRECT.cs
- CodeAttributeDeclaration.cs
- XmlBindingWorker.cs
- TagPrefixAttribute.cs
- Matrix3DValueSerializer.cs
- AutoCompleteStringCollection.cs
- EmptyElement.cs
- DataRecordObjectView.cs
- RangeBase.cs
- ServiceEndpointCollection.cs
- InputScope.cs
- GrammarBuilderRuleRef.cs
- LocationChangedEventArgs.cs
- LogExtentCollection.cs
- HttpVersion.cs
- QilNode.cs
- DesignerProperties.cs
- SqlNotificationEventArgs.cs
- SQLInt16Storage.cs
- TextComposition.cs
- PropertyDescriptor.cs
- DateBoldEvent.cs
- DecimalKeyFrameCollection.cs
- ApplyTemplatesAction.cs
- IgnoreFileBuildProvider.cs
- ExpressionParser.cs
- HttpCookieCollection.cs
- SqlCommand.cs
- TwoPhaseCommitProxy.cs
- ObjectView.cs
- ExceptionUtility.cs
- StringResourceManager.cs
- Pts.cs
- EmptyCollection.cs
- SystemSounds.cs
- SelectionChangedEventArgs.cs
- ObjectParameter.cs
- RecognizeCompletedEventArgs.cs
- IIS7WorkerRequest.cs
- FlowDocumentPage.cs
- LocalizableResourceBuilder.cs
- BindingGroup.cs
- activationcontext.cs
- DbConnectionStringCommon.cs
- _NegoState.cs
- DocumentSequenceHighlightLayer.cs
- SingleQueryOperator.cs
- XmlLanguage.cs
- UIElement.cs
- RemotingConfiguration.cs
- SchemaHelper.cs
- NameSpaceExtractor.cs
- EmptyEnumerator.cs
- TextParagraphProperties.cs
- ToolStripProgressBar.cs
- TableLayoutStyle.cs
- DataGridGeneralPage.cs
- XmlDeclaration.cs
- StructuralObject.cs
- ServiceXNameTypeConverter.cs
- BufferBuilder.cs
- CalendarDesigner.cs
- TreeViewImageKeyConverter.cs
- InstanceHandle.cs
- ConfigXmlAttribute.cs
- LinkButton.cs
- DbConnectionPool.cs
- ContentPropertyAttribute.cs
- Win32Exception.cs
- SiteMapPath.cs
- MostlySingletonList.cs
- ProfileSettingsCollection.cs
- FileVersion.cs
- WizardPanelChangingEventArgs.cs
- ProfileSettings.cs
- CodeGenerator.cs
- ValidatingCollection.cs
- wmiprovider.cs
- VerticalAlignConverter.cs
- SliderAutomationPeer.cs
- Pts.cs
- SharedUtils.cs
- ArcSegment.cs
- FunctionParameter.cs