Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- OdbcParameter.cs
- RTTypeWrapper.cs
- StringSource.cs
- StartUpEventArgs.cs
- RegisteredArrayDeclaration.cs
- VirtualPathUtility.cs
- CaseStatementSlot.cs
- ObjectStateManagerMetadata.cs
- DecimalSumAggregationOperator.cs
- CompiledQueryCacheEntry.cs
- StackSpiller.Generated.cs
- SR.cs
- ByteRangeDownloader.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- ForceCopyBuildProvider.cs
- PathFigureCollectionConverter.cs
- ResourceDisplayNameAttribute.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- XmlNodeReader.cs
- DiffuseMaterial.cs
- WebColorConverter.cs
- Application.cs
- IncrementalCompileAnalyzer.cs
- Serializer.cs
- RecognizerBase.cs
- NewItemsContextMenuStrip.cs
- DbXmlEnabledProviderManifest.cs
- ListViewItem.cs
- Track.cs
- QualifiedCellIdBoolean.cs
- CompiledXpathExpr.cs
- BitmapInitialize.cs
- MetadataItem_Static.cs
- ColorTransform.cs
- VariantWrapper.cs
- ObjectPersistData.cs
- CodeVariableReferenceExpression.cs
- WebPartRestoreVerb.cs
- LicenseProviderAttribute.cs
- XmlSchemaAppInfo.cs
- StreamResourceInfo.cs
- BinaryMethodMessage.cs
- BuildProviderUtils.cs
- SettingsContext.cs
- ISCIIEncoding.cs
- QueryStatement.cs
- XmlParser.cs
- ViewCellSlot.cs
- DesignerSerializerAttribute.cs
- SecurityResources.cs
- BaseDataList.cs
- ElementHostAutomationPeer.cs
- XPathParser.cs
- HttpPostProtocolImporter.cs
- x509utils.cs
- FixedSOMImage.cs
- ThreadAbortException.cs
- ZipIOExtraField.cs
- ZoneLinkButton.cs
- StylusPointPropertyInfoDefaults.cs
- MediaSystem.cs
- BitmapFrameDecode.cs
- SQLString.cs
- ArgumentException.cs
- DataErrorValidationRule.cs
- FlowDocumentPage.cs
- MarginCollapsingState.cs
- GridView.cs
- IndexerNameAttribute.cs
- AnnotationHelper.cs
- InputElement.cs
- ScriptResourceHandler.cs
- Rfc2898DeriveBytes.cs
- counter.cs
- DependencyPropertyChangedEventArgs.cs
- shaperfactoryquerycacheentry.cs
- SchemaTableColumn.cs
- VBIdentifierDesigner.xaml.cs
- EnumValAlphaComparer.cs
- HostedElements.cs
- DocumentViewerBase.cs
- IIS7WorkerRequest.cs
- ISFTagAndGuidCache.cs
- FrameworkElement.cs
- ExpressionLexer.cs
- AsyncOperationManager.cs
- Setter.cs
- SqlHelper.cs
- CorrelationKeyCalculator.cs
- Trace.cs
- UTF8Encoding.cs
- CredentialCache.cs
- Wildcard.cs
- XhtmlBasicCommandAdapter.cs
- UnionExpr.cs
- ListGeneralPage.cs
- basecomparevalidator.cs
- CmsUtils.cs
- HasCopySemanticsAttribute.cs
- PrintPreviewGraphics.cs