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
- ActivityCodeDomSerializationManager.cs
- AddInIpcChannel.cs
- SqlRecordBuffer.cs
- IgnoreFlushAndCloseStream.cs
- PreviewPageInfo.cs
- ListViewItemEventArgs.cs
- IDQuery.cs
- PassportAuthenticationModule.cs
- BCLDebug.cs
- WebColorConverter.cs
- NameScope.cs
- JsonEnumDataContract.cs
- CodeBinaryOperatorExpression.cs
- Span.cs
- EventPropertyMap.cs
- XmlQueryStaticData.cs
- NameValueSectionHandler.cs
- TextRange.cs
- StrokeNodeOperations2.cs
- mediapermission.cs
- Zone.cs
- XmlNodeReader.cs
- DbConnectionFactory.cs
- EventData.cs
- GridItem.cs
- COM2PropertyDescriptor.cs
- GradientStop.cs
- NetMsmqSecurityElement.cs
- ToolStripHighContrastRenderer.cs
- SizeConverter.cs
- XmlBaseReader.cs
- StringFreezingAttribute.cs
- DynamicValueConverter.cs
- ObjectPersistData.cs
- WindowsIPAddress.cs
- altserialization.cs
- ObjectListItem.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- RepeatBehaviorConverter.cs
- RemotingServices.cs
- Span.cs
- VirtualizingStackPanel.cs
- RuntimeCompatibilityAttribute.cs
- DataBoundLiteralControl.cs
- FormParameter.cs
- XamlFigureLengthSerializer.cs
- StateChangeEvent.cs
- TabPage.cs
- ToolStripDropDownClosedEventArgs.cs
- KeyedQueue.cs
- HitTestDrawingContextWalker.cs
- FontSourceCollection.cs
- DesignerResources.cs
- ItemCheckedEvent.cs
- XmlExtensionFunction.cs
- XamlFigureLengthSerializer.cs
- NativeRightsManagementAPIsStructures.cs
- XmlSchemaDatatype.cs
- DependencyObjectProvider.cs
- CompiledQueryCacheKey.cs
- Site.cs
- MonitoringDescriptionAttribute.cs
- DispatcherObject.cs
- InfoCardAsymmetricCrypto.cs
- _ConnectionGroup.cs
- ButtonFlatAdapter.cs
- ProxyGenerator.cs
- DataTableTypeConverter.cs
- GroupLabel.cs
- safesecurityhelperavalon.cs
- SecuritySessionServerSettings.cs
- PeerResolverSettings.cs
- MetafileHeaderWmf.cs
- XPathNodePointer.cs
- DisplayNameAttribute.cs
- UInt32.cs
- SystemShuttingDownException.cs
- DataServiceQueryProvider.cs
- FormattedText.cs
- errorpatternmatcher.cs
- ApplicationCommands.cs
- AtomParser.cs
- ZeroOpNode.cs
- PolyBezierSegment.cs
- TagMapCollection.cs
- SerializationInfoEnumerator.cs
- Unit.cs
- Invariant.cs
- SoapExtension.cs
- LabelAutomationPeer.cs
- TranslateTransform.cs
- XmlWellformedWriterHelpers.cs
- XhtmlBasicValidatorAdapter.cs
- BCryptSafeHandles.cs
- HttpListener.cs
- TextPointer.cs
- CultureMapper.cs
- WebPartHelpVerb.cs
- DataControlFieldCollection.cs
- ResolveResponseInfo.cs