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
- DocumentViewer.cs
- Operator.cs
- Dictionary.cs
- ComNativeDescriptor.cs
- ComboBoxAutomationPeer.cs
- SpeechUI.cs
- IdentifierService.cs
- NullableConverter.cs
- SpeakInfo.cs
- ModulesEntry.cs
- QueryAccessibilityHelpEvent.cs
- mongolianshape.cs
- XPathExpr.cs
- CharacterString.cs
- TextEditor.cs
- DBConnection.cs
- CharStorage.cs
- AspProxy.cs
- FileDialog_Vista_Interop.cs
- ComponentRenameEvent.cs
- SqlDataSourceQuery.cs
- ExpandSegmentCollection.cs
- Root.cs
- Base64Encoder.cs
- RuleConditionDialog.Designer.cs
- ISCIIEncoding.cs
- BoundsDrawingContextWalker.cs
- Int64AnimationUsingKeyFrames.cs
- CellTreeNodeVisitors.cs
- VerificationAttribute.cs
- LicenseProviderAttribute.cs
- DataRowCollection.cs
- TextRenderer.cs
- WebRequestModulesSection.cs
- GPPOINTF.cs
- MustUnderstandSoapException.cs
- DataControlFieldCollection.cs
- DiscoveryClientElement.cs
- ExecutedRoutedEventArgs.cs
- ClaimTypeElement.cs
- ToolStripTextBox.cs
- StorageAssociationTypeMapping.cs
- DeferredReference.cs
- Delegate.cs
- NonParentingControl.cs
- SplineKeyFrames.cs
- UnsafeNativeMethods.cs
- GridViewRow.cs
- TypeExtensionConverter.cs
- IRCollection.cs
- RedirectionProxy.cs
- DeferredTextReference.cs
- SQLCharsStorage.cs
- URIFormatException.cs
- DisposableCollectionWrapper.cs
- Metadata.cs
- OperationCanceledException.cs
- ReflectEventDescriptor.cs
- GridPattern.cs
- LoadedOrUnloadedOperation.cs
- SignatureConfirmationElement.cs
- CssTextWriter.cs
- TemplateXamlTreeBuilder.cs
- CacheForPrimitiveTypes.cs
- EnumerableCollectionView.cs
- DecimalAnimation.cs
- TriggerAction.cs
- IItemContainerGenerator.cs
- CustomCredentialPolicy.cs
- KnownBoxes.cs
- ContentAlignmentEditor.cs
- ConditionalAttribute.cs
- TextElementEnumerator.cs
- ExpressionEditorSheet.cs
- StringSorter.cs
- EmbossBitmapEffect.cs
- CultureInfo.cs
- WindowsHyperlink.cs
- AttachedAnnotationChangedEventArgs.cs
- Hash.cs
- XmlSchemaExporter.cs
- SBCSCodePageEncoding.cs
- FrameworkContentElement.cs
- HatchBrush.cs
- KeyNotFoundException.cs
- NameValueCollection.cs
- AnimatedTypeHelpers.cs
- RepeatButtonAutomationPeer.cs
- Query.cs
- BinHexEncoder.cs
- Vector3DCollectionConverter.cs
- JsonWriterDelegator.cs
- ChannelTracker.cs
- StyleXamlParser.cs
- ProfileEventArgs.cs
- DataSvcMapFile.cs
- Schema.cs
- AttributeUsageAttribute.cs
- MemoryFailPoint.cs
- EntityRecordInfo.cs