Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlTypeAttribute.cs / 1 / XmlTypeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; ////// /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlTypeAttribute : System.Attribute { bool includeInSchema = true; bool anonymousType; string ns; string typeName; ///[To be supplied.] ////// /// public XmlTypeAttribute() { } ///[To be supplied.] ////// /// public XmlTypeAttribute(string typeName) { this.typeName = typeName; } ///[To be supplied.] ////// /// public bool AnonymousType { get { return anonymousType; } set { anonymousType = value; } } ///[To be supplied.] ////// /// public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; } } ///[To be supplied.] ////// /// public string TypeName { get { return typeName == null ? string.Empty : typeName; } set { typeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; ////// /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlTypeAttribute : System.Attribute { bool includeInSchema = true; bool anonymousType; string ns; string typeName; ///[To be supplied.] ////// /// public XmlTypeAttribute() { } ///[To be supplied.] ////// /// public XmlTypeAttribute(string typeName) { this.typeName = typeName; } ///[To be supplied.] ////// /// public bool AnonymousType { get { return anonymousType; } set { anonymousType = value; } } ///[To be supplied.] ////// /// public bool IncludeInSchema { get { return includeInSchema; } set { includeInSchema = value; } } ///[To be supplied.] ////// /// public string TypeName { get { return typeName == null ? string.Empty : typeName; } set { typeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FileSystemInfo.cs
- PropertyEmitterBase.cs
- XmlHierarchyData.cs
- IncrementalHitTester.cs
- EarlyBoundInfo.cs
- HtmlLink.cs
- WebPartZone.cs
- CallbackHandler.cs
- DecimalFormatter.cs
- SystemIPAddressInformation.cs
- UInt16.cs
- ContainerControl.cs
- UInt32Storage.cs
- SharedStream.cs
- hresults.cs
- SafeHandle.cs
- clipboard.cs
- HostSecurityManager.cs
- ObjectManager.cs
- PackageDigitalSignatureManager.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- AncestorChangedEventArgs.cs
- LinkButton.cs
- AgileSafeNativeMemoryHandle.cs
- ProfilePropertySettingsCollection.cs
- ComponentEditorPage.cs
- Baml2006ReaderFrame.cs
- RegionInfo.cs
- DESCryptoServiceProvider.cs
- FormattedTextSymbols.cs
- ZoneLinkButton.cs
- KnowledgeBase.cs
- JsonCollectionDataContract.cs
- BufferModeSettings.cs
- CapiHashAlgorithm.cs
- TreeBuilderXamlTranslator.cs
- SslStreamSecurityElement.cs
- CodeLinePragma.cs
- CatalogPartCollection.cs
- SqlGenericUtil.cs
- DataFormats.cs
- ToolStripItemRenderEventArgs.cs
- GiveFeedbackEventArgs.cs
- AdornerHitTestResult.cs
- querybuilder.cs
- CancelEventArgs.cs
- BaseTemplateParser.cs
- WebPartCancelEventArgs.cs
- XmlSchema.cs
- Stacktrace.cs
- JavascriptCallbackResponseProperty.cs
- RequestTimeoutManager.cs
- MachinePropertyVariants.cs
- PropertyDescriptorGridEntry.cs
- SelectedCellsCollection.cs
- GeometryCollection.cs
- ModelVisual3D.cs
- StylusPointProperty.cs
- TabletCollection.cs
- CommonDialog.cs
- altserialization.cs
- SchemaNames.cs
- NativeMethods.cs
- EdmProviderManifest.cs
- BidPrivateBase.cs
- EnvelopedPkcs7.cs
- COM2Properties.cs
- DisplayInformation.cs
- _BaseOverlappedAsyncResult.cs
- NativeMethods.cs
- SelectorAutomationPeer.cs
- PositiveTimeSpanValidator.cs
- NewItemsContextMenuStrip.cs
- Point3DConverter.cs
- WebPartCancelEventArgs.cs
- WebServiceEnumData.cs
- DigestTraceRecordHelper.cs
- Signature.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- HttpCacheVaryByContentEncodings.cs
- ContextQuery.cs
- PrintDialogException.cs
- UnsafeNativeMethods.cs
- HealthMonitoringSectionHelper.cs
- EventMappingSettings.cs
- NoneExcludedImageIndexConverter.cs
- EntityDataSourceChangingEventArgs.cs
- RedirectionProxy.cs
- TreeNodeCollectionEditor.cs
- SettingsSection.cs
- MimeTypeMapper.cs
- FixedFindEngine.cs
- connectionpool.cs
- ProjectionNode.cs
- KeyToListMap.cs
- DataPagerFieldCollection.cs
- XamlUtilities.cs
- DataSysAttribute.cs
- DataGridViewColumn.cs
- DisplayMemberTemplateSelector.cs