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
- XmlConvert.cs
- HighContrastHelper.cs
- FirstQueryOperator.cs
- XmlParser.cs
- MetadataArtifactLoaderComposite.cs
- BamlMapTable.cs
- Rijndael.cs
- EventLogPermissionEntry.cs
- GenericTypeParameterBuilder.cs
- BuildProvider.cs
- ProviderSettings.cs
- CacheForPrimitiveTypes.cs
- LayoutSettings.cs
- SQLInt64Storage.cs
- CalendarButton.cs
- WebZone.cs
- LocalizedNameDescriptionPair.cs
- ResetableIterator.cs
- FontStretchConverter.cs
- DynamicUpdateCommand.cs
- UnsafeNativeMethods.cs
- PreDigestedSignedInfo.cs
- ImageBrush.cs
- COM2Enum.cs
- SqlClientPermission.cs
- RequestResponse.cs
- ProcessStartInfo.cs
- Color.cs
- TypeConverter.cs
- WindowsSolidBrush.cs
- MenuItemStyleCollectionEditor.cs
- SelectorItemAutomationPeer.cs
- LinqDataSourceValidationException.cs
- basemetadatamappingvisitor.cs
- XmlSequenceWriter.cs
- OdbcEnvironmentHandle.cs
- NativeMethods.cs
- PersonalizationProvider.cs
- CardSpacePolicyElement.cs
- Delay.cs
- CssTextWriter.cs
- WindowsTab.cs
- HttpBrowserCapabilitiesWrapper.cs
- DiscoveryDocumentReference.cs
- LinqExpressionNormalizer.cs
- StringDictionary.cs
- AttributeCollection.cs
- CssTextWriter.cs
- DbConnectionPoolGroup.cs
- JulianCalendar.cs
- CodeTypeDelegate.cs
- SystemFonts.cs
- DrawingVisualDrawingContext.cs
- NullRuntimeConfig.cs
- TableSectionStyle.cs
- MetadataPropertyCollection.cs
- KnownTypesProvider.cs
- _MultipleConnectAsync.cs
- initElementDictionary.cs
- RowToParametersTransformer.cs
- SourceLocation.cs
- PropertyPath.cs
- CharKeyFrameCollection.cs
- TaskFormBase.cs
- CapabilitiesRule.cs
- DataRelationPropertyDescriptor.cs
- ElementsClipboardData.cs
- CompilerLocalReference.cs
- GlyphsSerializer.cs
- PhysicalAddress.cs
- SuppressIldasmAttribute.cs
- wgx_exports.cs
- ObjectIDGenerator.cs
- AuthenticationModulesSection.cs
- AmbientProperties.cs
- TokenBasedSet.cs
- DataGridLinkButton.cs
- RenderTargetBitmap.cs
- RelationshipConverter.cs
- DataGridLength.cs
- DynamicRenderer.cs
- DbExpressionRules.cs
- WarningException.cs
- SimpleFieldTemplateFactory.cs
- DoubleAnimationUsingKeyFrames.cs
- StylusButtonCollection.cs
- OleDbCommand.cs
- RegularExpressionValidator.cs
- Vars.cs
- Int32EqualityComparer.cs
- ScriptComponentDescriptor.cs
- DynamicValidator.cs
- GridViewColumnHeaderAutomationPeer.cs
- PlanCompilerUtil.cs
- WebPartConnectionsCloseVerb.cs
- XmlUtil.cs
- AsymmetricSignatureDeformatter.cs
- BaseAsyncResult.cs
- VirtualizingPanel.cs
- KeyTimeConverter.cs