Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Runtime / Serialization / SerializationAttributes.cs / 1 / SerializationAttributes.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: OptionallySerializableAttribute ** ** ** Purpose: Various Attributes for Serialization ** ** ============================================================*/ namespace System.Runtime.Serialization { using System.Reflection; [AttributeUsage(AttributeTargets.Field, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class OptionalFieldAttribute : Attribute { int versionAdded = 1; public OptionalFieldAttribute() { } public int VersionAdded { get { return this.versionAdded; } set { if (value < 1) throw new ArgumentException(Environment.GetResourceString("Serialization_OptionalFieldVersionValue")); this.versionAdded = value; } } } [AttributeUsage(AttributeTargets.Method, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class OnSerializingAttribute : Attribute { } [AttributeUsage(AttributeTargets.Method, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class OnSerializedAttribute : Attribute { } [AttributeUsage(AttributeTargets.Method, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class OnDeserializingAttribute : Attribute { } [AttributeUsage(AttributeTargets.Method, Inherited=false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class OnDeserializedAttribute : Attribute { } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsRichEdit.cs
- PointValueSerializer.cs
- RTLAwareMessageBox.cs
- DrawingVisual.cs
- SiteMapNodeItem.cs
- UpdatePanelControlTrigger.cs
- ObjectKeyFrameCollection.cs
- DocumentPage.cs
- OrthographicCamera.cs
- EventSinkHelperWriter.cs
- WhereaboutsReader.cs
- EventPrivateKey.cs
- ScriptControlManager.cs
- StagingAreaInputItem.cs
- SpotLight.cs
- Identity.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- DomainUpDown.cs
- TypeDefinition.cs
- PrintDialogDesigner.cs
- IdentityHolder.cs
- MsmqElementBase.cs
- ExtensionQuery.cs
- AppLevelCompilationSectionCache.cs
- SqlInternalConnectionTds.cs
- MiniLockedBorderGlyph.cs
- SourceFilter.cs
- Message.cs
- ConstructorNeedsTagAttribute.cs
- AnonymousIdentificationSection.cs
- ElementsClipboardData.cs
- ProxyManager.cs
- ChangeDirector.cs
- OperationResponse.cs
- XmlDomTextWriter.cs
- WebEvents.cs
- CheckBox.cs
- MultipleViewPattern.cs
- WebServiceData.cs
- SqlVersion.cs
- XmlTextReaderImplHelpers.cs
- LogExtent.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- XmlEntity.cs
- GridSplitterAutomationPeer.cs
- TextTreeUndoUnit.cs
- UnsafeNativeMethods.cs
- MethodExpr.cs
- SystemBrushes.cs
- TextDpi.cs
- CounterCreationData.cs
- FontSource.cs
- BamlTreeUpdater.cs
- SimpleRecyclingCache.cs
- InputLanguageProfileNotifySink.cs
- AnnotationAdorner.cs
- ApplicationGesture.cs
- ApplicationGesture.cs
- UriSection.cs
- MorphHelper.cs
- RIPEMD160Managed.cs
- BinaryCommonClasses.cs
- CommandEventArgs.cs
- ActivityXRefConverter.cs
- DispatchRuntime.cs
- StrokeSerializer.cs
- DataRecordInternal.cs
- ImportStoreException.cs
- InheritablePropertyChangeInfo.cs
- IisTraceWebEventProvider.cs
- SchemaElement.cs
- Timer.cs
- SQLInt32.cs
- StringAnimationBase.cs
- HttpPostedFile.cs
- PropertyCondition.cs
- AuthenticationModuleElement.cs
- SQLBinaryStorage.cs
- RowToFieldTransformer.cs
- ConstantProjectedSlot.cs
- MexHttpsBindingCollectionElement.cs
- ProcessProtocolHandler.cs
- FileRecordSequenceHelper.cs
- SplashScreenNativeMethods.cs
- ContextProperty.cs
- ComMethodElementCollection.cs
- SafeNativeMethodsCLR.cs
- LogicalExpr.cs
- KnownTypeDataContractResolver.cs
- WebBrowserNavigatedEventHandler.cs
- ThemeInfoAttribute.cs
- InputScopeNameConverter.cs
- Cursor.cs
- DataObjectEventArgs.cs
- LayoutEditorPart.cs
- UnmanagedMarshal.cs
- ScrollEventArgs.cs
- Aggregates.cs
- CookielessHelper.cs
- StyleHelper.cs