Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAttributeAttribute.cs / 1305376 / 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
- Int16Animation.cs
- ResourceDefaultValueAttribute.cs
- GridViewAutomationPeer.cs
- TCPListener.cs
- DBAsyncResult.cs
- Stroke2.cs
- ApplicationId.cs
- RSAPKCS1SignatureDeformatter.cs
- RoleGroup.cs
- ProfileSettingsCollection.cs
- ChameleonKey.cs
- ConditionCollection.cs
- ThreadNeutralSemaphore.cs
- PersonalizationProviderCollection.cs
- TimeZone.cs
- ArrayEditor.cs
- TextRenderer.cs
- EntityParameterCollection.cs
- EntityDataSourceDataSelection.cs
- ActivityCodeDomSerializationManager.cs
- Point3DCollection.cs
- SizeConverter.cs
- ViewManager.cs
- XamlFilter.cs
- Exceptions.cs
- versioninfo.cs
- TargetControlTypeAttribute.cs
- FixedTextView.cs
- DrawingCollection.cs
- ReliabilityContractAttribute.cs
- SerializationObjectManager.cs
- NetCodeGroup.cs
- SRGSCompiler.cs
- Policy.cs
- FixedTextSelectionProcessor.cs
- DataGridGeneralPage.cs
- CaretElement.cs
- QuaternionValueSerializer.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- RenderDataDrawingContext.cs
- JsonObjectDataContract.cs
- StrongTypingException.cs
- Pen.cs
- StreamAsIStream.cs
- SortDescriptionCollection.cs
- Permission.cs
- DelegateHelpers.cs
- PassportPrincipal.cs
- OleDbReferenceCollection.cs
- BuildManager.cs
- WebPartZoneBase.cs
- IssuanceLicense.cs
- EntityTypeEmitter.cs
- SqlCommand.cs
- EntitySqlException.cs
- CommandPlan.cs
- SQLBytesStorage.cs
- WindowsClaimSet.cs
- CreateRefExpr.cs
- DataColumn.cs
- Mapping.cs
- ImageField.cs
- DataContext.cs
- ObsoleteAttribute.cs
- ObjectTokenCategory.cs
- XamlUtilities.cs
- HttpCapabilitiesEvaluator.cs
- HtmlTableCellCollection.cs
- PerspectiveCamera.cs
- WebPartHeaderCloseVerb.cs
- CodeGenerationManager.cs
- SoapRpcServiceAttribute.cs
- CustomErrorsSectionWrapper.cs
- NodeFunctions.cs
- GridViewHeaderRowPresenter.cs
- XmlCodeExporter.cs
- ConfigXmlWhitespace.cs
- CatalogPart.cs
- RegexCompiler.cs
- Point.cs
- GridViewRowPresenterBase.cs
- URLString.cs
- StringUtil.cs
- EndpointIdentityConverter.cs
- PerformanceCounter.cs
- Helper.cs
- AlphaSortedEnumConverter.cs
- EntityConnection.cs
- RawStylusInput.cs
- WSFederationHttpSecurity.cs
- InternalConfigRoot.cs
- ItemCollection.cs
- BookmarkManager.cs
- Win32KeyboardDevice.cs
- ChannelServices.cs
- DelegateArgument.cs
- RoleService.cs
- ResourceIDHelper.cs
- ParentQuery.cs
- BrowserCapabilitiesFactoryBase.cs