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 / XmlAttributeAttribute.cs / 1 / XmlAttributeAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)] public class XmlAttributeAttribute : System.Attribute { string attributeName; Type type; string ns; string dataType; XmlSchemaForm form = XmlSchemaForm.None; ///[To be supplied.] ////// /// public XmlAttributeAttribute() { } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName) { this.attributeName = attributeName; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(Type type) { this.type = type; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName, Type type) { this.attributeName = attributeName; this.type = type; } ///[To be supplied.] ////// /// public Type Type { get { return type; } set { type = value; } } ///[To be supplied.] ////// /// public string AttributeName { get { return attributeName == null ? string.Empty : attributeName; } set { attributeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = 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; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)] public class XmlAttributeAttribute : System.Attribute { string attributeName; Type type; string ns; string dataType; XmlSchemaForm form = XmlSchemaForm.None; ///[To be supplied.] ////// /// public XmlAttributeAttribute() { } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName) { this.attributeName = attributeName; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(Type type) { this.type = type; } ///[To be supplied.] ////// /// public XmlAttributeAttribute(string attributeName, Type type) { this.attributeName = attributeName; this.type = type; } ///[To be supplied.] ////// /// public Type Type { get { return type; } set { type = value; } } ///[To be supplied.] ////// /// public string AttributeName { get { return attributeName == null ? string.Empty : attributeName; } set { attributeName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = 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
- SqlCaseSimplifier.cs
- BufferModeSettings.cs
- ProxyManager.cs
- FontDialog.cs
- ByteAnimation.cs
- ExtendedPropertyInfo.cs
- HttpModulesSection.cs
- WindowsListViewScroll.cs
- ToolStripCollectionEditor.cs
- BitmapCodecInfoInternal.cs
- RegisterResponseInfo.cs
- ToolStripPanelDesigner.cs
- PerformanceCountersElement.cs
- InheritablePropertyChangeInfo.cs
- PhonemeConverter.cs
- KeyedHashAlgorithm.cs
- MimeObjectFactory.cs
- ControlBuilderAttribute.cs
- ReadOnlyDataSourceView.cs
- PropertyFilterAttribute.cs
- DrawingDrawingContext.cs
- XPathNavigatorReader.cs
- View.cs
- InitializeCorrelation.cs
- DataStorage.cs
- XmlDictionaryReader.cs
- NonClientArea.cs
- AuthenticationModeHelper.cs
- MappingModelBuildProvider.cs
- EventListenerClientSide.cs
- XPathAncestorQuery.cs
- SqlBuilder.cs
- SimpleType.cs
- EmbossBitmapEffect.cs
- CreateUserErrorEventArgs.cs
- IdentifierService.cs
- FileClassifier.cs
- StylusEditingBehavior.cs
- SetIterators.cs
- TableHeaderCell.cs
- ReceiveParametersContent.cs
- XPathDocumentIterator.cs
- ACE.cs
- safesecurityhelperavalon.cs
- TimerElapsedEvenArgs.cs
- RealProxy.cs
- HttpDigestClientElement.cs
- SortableBindingList.cs
- LocationUpdates.cs
- MergePropertyDescriptor.cs
- SqlGenerator.cs
- MobileTemplatedControlDesigner.cs
- QilFunction.cs
- AsyncCodeActivity.cs
- EmptyEnumerator.cs
- EdgeModeValidation.cs
- DtdParser.cs
- X509Certificate2.cs
- SHA256Cng.cs
- DelayedRegex.cs
- AppPool.cs
- TreeViewHitTestInfo.cs
- _emptywebproxy.cs
- NetworkCredential.cs
- RunClient.cs
- ChangeTracker.cs
- securitymgrsite.cs
- DataFieldConverter.cs
- Set.cs
- NavigationProperty.cs
- WebServicesSection.cs
- AmbientLight.cs
- BufferBuilder.cs
- DoubleCollectionConverter.cs
- Accessible.cs
- ScrollChrome.cs
- SeverityFilter.cs
- QuaternionKeyFrameCollection.cs
- DataStorage.cs
- PropertyItemInternal.cs
- UpdateInfo.cs
- ObjectViewFactory.cs
- XmlValidatingReader.cs
- CompilationPass2Task.cs
- CodeCompileUnit.cs
- DescriptionAttribute.cs
- DbConnectionPoolGroupProviderInfo.cs
- BlockCollection.cs
- PagesSection.cs
- Pts.cs
- Pens.cs
- DataBoundControlHelper.cs
- MenuBase.cs
- CanonicalFontFamilyReference.cs
- _StreamFramer.cs
- CapiNative.cs
- PenLineCapValidation.cs
- TypeUtils.cs
- XmlMapping.cs
- FileDialogCustomPlace.cs