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
- DataGridCellItemAutomationPeer.cs
- SQlBooleanStorage.cs
- ExecutionContext.cs
- UriTemplateHelpers.cs
- DataServiceEntityAttribute.cs
- OrderedEnumerableRowCollection.cs
- SQLBinary.cs
- TransactionScope.cs
- WebPageTraceListener.cs
- NameNode.cs
- HtmlInputText.cs
- TablePatternIdentifiers.cs
- UserPersonalizationStateInfo.cs
- HttpListenerException.cs
- TypeFieldSchema.cs
- SelectQueryOperator.cs
- TheQuery.cs
- HostingEnvironmentSection.cs
- WorkflowDefinitionDispenser.cs
- HTMLTextWriter.cs
- ColumnMap.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ItemsChangedEventArgs.cs
- Rect.cs
- DesignColumnCollection.cs
- DistinctQueryOperator.cs
- WebPartDisplayModeCancelEventArgs.cs
- VisualStyleInformation.cs
- AttachedPropertyBrowsableAttribute.cs
- NullRuntimeConfig.cs
- SafePointer.cs
- SkinBuilder.cs
- RequestCacheManager.cs
- DescendantBaseQuery.cs
- AssociationProvider.cs
- Matrix3DConverter.cs
- BamlBinaryReader.cs
- CharacterMetrics.cs
- PageEventArgs.cs
- Imaging.cs
- CornerRadiusConverter.cs
- DataGridState.cs
- ScrollBar.cs
- PointKeyFrameCollection.cs
- CodeIndexerExpression.cs
- ThaiBuddhistCalendar.cs
- ZipIOModeEnforcingStream.cs
- StrokeIntersection.cs
- Table.cs
- ProfileService.cs
- XmlParserContext.cs
- HashStream.cs
- EraserBehavior.cs
- DocobjHost.cs
- StylusLogic.cs
- ThemeDictionaryExtension.cs
- SqlFacetAttribute.cs
- EventSourceCreationData.cs
- ContentDisposition.cs
- NamedPipeTransportSecurityElement.cs
- StringUtil.cs
- ContentType.cs
- ColorConverter.cs
- LayeredChannelFactory.cs
- AsyncOperation.cs
- UnsafeNativeMethods.cs
- XmlIlTypeHelper.cs
- ExtensionWindowResizeGrip.cs
- Style.cs
- ImportCatalogPart.cs
- IndentTextWriter.cs
- TrackingCondition.cs
- ObjectSet.cs
- EnvironmentPermission.cs
- TypeExtension.cs
- DynamicDiscoveryDocument.cs
- EntityDataSourceDesigner.cs
- DrawingVisual.cs
- SafeCryptContextHandle.cs
- FirstMatchCodeGroup.cs
- MediaScriptCommandRoutedEventArgs.cs
- StrokeFIndices.cs
- ImageAttributes.cs
- RegisteredScript.cs
- TokenCreationParameter.cs
- __ConsoleStream.cs
- ContextInformation.cs
- WsatConfiguration.cs
- Triangle.cs
- AnnotationElement.cs
- TemplateControlBuildProvider.cs
- BamlLocalizabilityResolver.cs
- ValidateNames.cs
- AppDomainGrammarProxy.cs
- DockPanel.cs
- TransferMode.cs
- SMSvcHost.cs
- NativeMethods.cs
- FirstQueryOperator.cs
- GeneratedCodeAttribute.cs