Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / SerializableAttribute.cs / 1 / SerializableAttribute.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: SerializableAttribute ** ** ** Purpose: Used to mark a class as being serializable ** ** ============================================================*/ namespace System { using System; using System.Reflection; [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Delegate, Inherited = false)] [System.Runtime.InteropServices.ComVisible(true)] public sealed class SerializableAttribute : Attribute { internal static Attribute GetCustomAttribute(Type type) { return (type.Attributes & TypeAttributes.Serializable) == TypeAttributes.Serializable ? new SerializableAttribute() : null; } internal static bool IsDefined(Type type) { return type.IsSerializable; } public SerializableAttribute() { } } } // 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
- HelpEvent.cs
- XmlHierarchicalDataSourceView.cs
- BinaryObjectReader.cs
- PointCollectionValueSerializer.cs
- BindingElementExtensionElement.cs
- DeviceContext.cs
- tooltip.cs
- TargetFrameworkAttribute.cs
- XmlArrayItemAttributes.cs
- EdmFunction.cs
- DBAsyncResult.cs
- Single.cs
- WebPartZoneBase.cs
- CryptoConfig.cs
- ValueTable.cs
- CodeIdentifiers.cs
- NamespaceInfo.cs
- CompoundFileIOPermission.cs
- ViewValidator.cs
- ExtentCqlBlock.cs
- EventArgs.cs
- LinqDataSourceDisposeEventArgs.cs
- SecurityHeader.cs
- DBSchemaRow.cs
- XmlDocumentSerializer.cs
- InputLanguageSource.cs
- PageContent.cs
- PropertyEntry.cs
- Freezable.cs
- CodeLinePragma.cs
- FontFaceLayoutInfo.cs
- FaultImportOptions.cs
- ExpressionBindingCollection.cs
- XmlEventCache.cs
- FormClosingEvent.cs
- SubMenuStyleCollection.cs
- SimpleType.cs
- StoragePropertyMapping.cs
- ValueTypeFieldReference.cs
- TaiwanCalendar.cs
- PassportAuthentication.cs
- SqlReferenceCollection.cs
- CryptoApi.cs
- NativeMethods.cs
- processwaithandle.cs
- CngKey.cs
- Win32.cs
- GrabHandleGlyph.cs
- ButtonAutomationPeer.cs
- GroupStyle.cs
- ISO2022Encoding.cs
- InkPresenterAutomationPeer.cs
- StateMachineSubscriptionManager.cs
- DataControlLinkButton.cs
- EnvironmentPermission.cs
- BaseAsyncResult.cs
- DataGridViewCell.cs
- SubqueryRules.cs
- CodeMemberProperty.cs
- ToolBarTray.cs
- ClassData.cs
- HwndProxyElementProvider.cs
- SettingsAttributeDictionary.cs
- TypeConverterHelper.cs
- SmtpSection.cs
- UnsafeNativeMethodsCLR.cs
- ReaderWriterLock.cs
- Emitter.cs
- FtpWebResponse.cs
- ProfessionalColors.cs
- WebPartMovingEventArgs.cs
- TimeStampChecker.cs
- Collection.cs
- ViewSimplifier.cs
- XMLSyntaxException.cs
- PreviewKeyDownEventArgs.cs
- BitVector32.cs
- CryptoApi.cs
- TextDecorationCollectionConverter.cs
- WindowsScrollBarBits.cs
- DetailsViewRowCollection.cs
- ClientOptions.cs
- InstallerTypeAttribute.cs
- PageAdapter.cs
- TabControlCancelEvent.cs
- IpcChannel.cs
- InstanceNameConverter.cs
- CatalogPartChrome.cs
- GraphicsPath.cs
- Missing.cs
- MessagePartSpecification.cs
- Transform.cs
- IsolatedStorageFileStream.cs
- EmbossBitmapEffect.cs
- KnownIds.cs
- MetafileHeaderWmf.cs
- ResourceSet.cs
- PeerUnsafeNativeMethods.cs
- COM2PropertyBuilderUITypeEditor.cs
- ByteStreamMessage.cs