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
- PrintController.cs
- StrokeCollection.cs
- OrthographicCamera.cs
- IODescriptionAttribute.cs
- CatalogPartCollection.cs
- MultiPartWriter.cs
- ConstraintCollection.cs
- TemplateInstanceAttribute.cs
- CompositeFontFamily.cs
- WebPartZoneBase.cs
- ImageSourceTypeConverter.cs
- RijndaelManaged.cs
- _NTAuthentication.cs
- DashStyle.cs
- SqlClientWrapperSmiStream.cs
- WebPartMovingEventArgs.cs
- XmlSchemaImporter.cs
- ProxyHwnd.cs
- DispatcherBuilder.cs
- ServiceBehaviorElement.cs
- HttpResponseInternalWrapper.cs
- DropAnimation.xaml.cs
- M3DUtil.cs
- InternalPolicyElement.cs
- TemplateControlCodeDomTreeGenerator.cs
- Operand.cs
- RestHandlerFactory.cs
- CapabilitiesState.cs
- CatalogPartChrome.cs
- BorderSidesEditor.cs
- RedirectionProxy.cs
- MetadataItemSerializer.cs
- EntityDataSourceView.cs
- DocumentOrderQuery.cs
- TypeDelegator.cs
- TemplateField.cs
- GeometryDrawing.cs
- EncoderParameter.cs
- EtwProvider.cs
- XmlCharacterData.cs
- SyndicationDeserializer.cs
- EntityDataSourceStatementEditorForm.cs
- RealProxy.cs
- SoapRpcMethodAttribute.cs
- Thread.cs
- VirtualPathProvider.cs
- AnnotationComponentChooser.cs
- DragEvent.cs
- EventWaitHandleSecurity.cs
- IsolatedStorage.cs
- PrintDialog.cs
- ObjectMemberMapping.cs
- IndependentAnimationStorage.cs
- Win32KeyboardDevice.cs
- SingleStorage.cs
- DrawingBrush.cs
- Type.cs
- DbConnectionPoolOptions.cs
- FormParameter.cs
- AsyncMethodInvoker.cs
- HttpRuntimeSection.cs
- TabOrder.cs
- XmlObjectSerializerContext.cs
- Journal.cs
- HealthMonitoringSection.cs
- NamespaceListProperty.cs
- SqlNotificationRequest.cs
- ObjectComplexPropertyMapping.cs
- OutputCacheProfile.cs
- OrderToken.cs
- CatalogZone.cs
- SocketCache.cs
- SpecialNameAttribute.cs
- SmtpSection.cs
- XmlSchemaType.cs
- DelegatingTypeDescriptionProvider.cs
- Span.cs
- MenuCommandService.cs
- ValidationSummary.cs
- IconConverter.cs
- WebEvents.cs
- ChangePassword.cs
- Conditional.cs
- PropertyValueUIItem.cs
- PathSegmentCollection.cs
- Matrix3DValueSerializer.cs
- ObjectDataSourceFilteringEventArgs.cs
- TrustLevel.cs
- XmlNodeComparer.cs
- FixedNode.cs
- SettingsPropertyIsReadOnlyException.cs
- DesignerOptionService.cs
- Binding.cs
- TextOptions.cs
- DataViewManager.cs
- CachedFontFace.cs
- AssertFilter.cs
- ChannelPool.cs
- FeatureSupport.cs
- DispatchChannelSink.cs