Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataGridViewColumnStateChangedEventArgs.cs
- ControlDesignerState.cs
- PeerChannelListener.cs
- RuntimeArgumentHandle.cs
- XmlElementCollection.cs
- UIElement.cs
- SelectingProviderEventArgs.cs
- ComNativeDescriptor.cs
- RadioButton.cs
- XmlArrayItemAttribute.cs
- DataReaderContainer.cs
- ResourceDescriptionAttribute.cs
- DataTableReader.cs
- ObjectStateManagerMetadata.cs
- BinaryKeyIdentifierClause.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- SplitterCancelEvent.cs
- DataBoundControlAdapter.cs
- HwndHostAutomationPeer.cs
- FastPropertyAccessor.cs
- SparseMemoryStream.cs
- XmlSchemaException.cs
- FontSizeConverter.cs
- ExtensibleClassFactory.cs
- SourceItem.cs
- DataGridSortCommandEventArgs.cs
- DecimalConstantAttribute.cs
- OutputCacheSettings.cs
- TemplateBindingExpressionConverter.cs
- ZeroOpNode.cs
- ClientUtils.cs
- HMACSHA384.cs
- TextParagraph.cs
- StrongTypingException.cs
- TypeListConverter.cs
- SystemIPGlobalProperties.cs
- GridViewSortEventArgs.cs
- RuntimeHandles.cs
- EntitySqlQueryCacheKey.cs
- WebConfigurationHostFileChange.cs
- BlockUIContainer.cs
- TCPClient.cs
- WebBrowserHelper.cs
- NamedServiceModelExtensionCollectionElement.cs
- X509SecurityToken.cs
- ActionItem.cs
- WindowsAuthenticationModule.cs
- EntityDataSourceSelectedEventArgs.cs
- VisualBrush.cs
- XmlQualifiedNameTest.cs
- CallSiteBinder.cs
- RequestTimeoutManager.cs
- Queue.cs
- TriggerCollection.cs
- HwndSubclass.cs
- CodeMemberMethod.cs
- ObjectCache.cs
- DateTimeConverter.cs
- StatusBar.cs
- CustomWebEventKey.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- TypeListConverter.cs
- DataColumnSelectionConverter.cs
- StrongNameIdentityPermission.cs
- SynchronizationLockException.cs
- PrintDialogException.cs
- MatchingStyle.cs
- recordstatefactory.cs
- XmlNodeReader.cs
- PassportPrincipal.cs
- ConditionalDesigner.cs
- FixedTextView.cs
- XmlAnyElementAttribute.cs
- SetStoryboardSpeedRatio.cs
- BitmapSizeOptions.cs
- ThousandthOfEmRealPoints.cs
- TemplateComponentConnector.cs
- Transform.cs
- Stackframe.cs
- DefaultAssemblyResolver.cs
- DispatcherExceptionFilterEventArgs.cs
- QuaternionAnimationUsingKeyFrames.cs
- NullableDoubleSumAggregationOperator.cs
- ChildTable.cs
- HttpClientCertificate.cs
- SafeNativeMethods.cs
- WebPartDisplayModeCollection.cs
- StateMachineSubscription.cs
- input.cs
- VisualStyleElement.cs
- ListViewUpdateEventArgs.cs
- HttpException.cs
- ResourcePool.cs
- PropVariant.cs
- RedirectionProxy.cs
- ModuleConfigurationInfo.cs
- PrintPreviewGraphics.cs
- SqlDataReaderSmi.cs
- ChtmlTextWriter.cs
- TraceSection.cs