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
- BaseInfoTable.cs
- DateTimeValueSerializer.cs
- SqlDataSourceView.cs
- _FixedSizeReader.cs
- StatusBarPanelClickEvent.cs
- XmlSchemaValidationException.cs
- ReadOnlyDataSource.cs
- FormViewUpdateEventArgs.cs
- OneOfScalarConst.cs
- GeometryGroup.cs
- MainMenu.cs
- NamespaceInfo.cs
- TargetConverter.cs
- WindowsEditBox.cs
- CollectionViewGroup.cs
- PointAnimationClockResource.cs
- SqlParameter.cs
- ReliableMessagingHelpers.cs
- AccessKeyManager.cs
- LoginView.cs
- ElementHost.cs
- ToolStripContentPanel.cs
- CorrelationResolver.cs
- XmlComment.cs
- GlyphRunDrawing.cs
- RuntimeCompatibilityAttribute.cs
- ExtensionElementCollection.cs
- FileAuthorizationModule.cs
- EntityContainerEntitySetDefiningQuery.cs
- BindingManagerDataErrorEventArgs.cs
- LinqDataSourceSelectEventArgs.cs
- SystemIPInterfaceStatistics.cs
- ComponentCommands.cs
- TrackingConditionCollection.cs
- IOException.cs
- LateBoundBitmapDecoder.cs
- ImmutableObjectAttribute.cs
- MetadataPropertyCollection.cs
- DbReferenceCollection.cs
- ValidationPropertyAttribute.cs
- ASCIIEncoding.cs
- EntityDesignerDataSourceView.cs
- XmlSortKeyAccumulator.cs
- ServiceContractViewControl.Designer.cs
- ChtmlLinkAdapter.cs
- XNodeValidator.cs
- GacUtil.cs
- ConfigXmlWhitespace.cs
- DynamicValidatorEventArgs.cs
- ObjectQuery_EntitySqlExtensions.cs
- WebConfigurationFileMap.cs
- UdpTransportBindingElement.cs
- MetaModel.cs
- PackUriHelper.cs
- BinaryQueryOperator.cs
- ConnectivityStatus.cs
- PropertyGridDesigner.cs
- NetMsmqSecurity.cs
- PixelFormatConverter.cs
- CategoryNameCollection.cs
- FileSystemWatcher.cs
- HitTestParameters3D.cs
- Config.cs
- UpdatableWrapper.cs
- MsiStyleLogWriter.cs
- EnumMemberAttribute.cs
- DataColumnChangeEvent.cs
- SHA1CryptoServiceProvider.cs
- counter.cs
- ScriptControl.cs
- LocatorBase.cs
- AnonymousIdentificationSection.cs
- DataGridTable.cs
- SharedTcpTransportManager.cs
- BrushValueSerializer.cs
- GroupBox.cs
- ExpressionBuilderContext.cs
- QueryMath.cs
- NetPeerTcpBinding.cs
- WsatAdminException.cs
- Window.cs
- Suspend.cs
- Vector3DKeyFrameCollection.cs
- TableDetailsRow.cs
- SByteStorage.cs
- OrCondition.cs
- AbstractSvcMapFileLoader.cs
- InfoCardSchemas.cs
- ViewStateException.cs
- UnsafeNativeMethods.cs
- QueuePropertyVariants.cs
- StateInitialization.cs
- LocatorGroup.cs
- SqlExpander.cs
- DiagnosticTraceSource.cs
- ModelItem.cs
- ValidatedControlConverter.cs
- ListViewSelectEventArgs.cs
- PointAnimationBase.cs
- NullEntityWrapper.cs