Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ContentDesigner.cs
- ProjectedSlot.cs
- Trace.cs
- XmlNullResolver.cs
- DecimalStorage.cs
- And.cs
- KeyConverter.cs
- UserPrincipalNameElement.cs
- ColorContext.cs
- ItemsControlAutomationPeer.cs
- SpecularMaterial.cs
- PreviewPrintController.cs
- diagnosticsswitches.cs
- DataControlImageButton.cs
- QuestionEventArgs.cs
- Canvas.cs
- ListenUriMode.cs
- SqlDataSourceCustomCommandPanel.cs
- ExtentKey.cs
- Array.cs
- SymLanguageType.cs
- HtmlGenericControl.cs
- DayRenderEvent.cs
- WebBrowser.cs
- Panel.cs
- DelegateSerializationHolder.cs
- State.cs
- PassportAuthenticationEventArgs.cs
- SrgsSemanticInterpretationTag.cs
- OdbcConnectionFactory.cs
- VectorKeyFrameCollection.cs
- HashMembershipCondition.cs
- Pen.cs
- Interfaces.cs
- AxisAngleRotation3D.cs
- TypeToken.cs
- GridViewColumnCollectionChangedEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- PassportAuthenticationEventArgs.cs
- ImpersonationContext.cs
- PageParser.cs
- ProcessHostConfigUtils.cs
- XPathNavigatorReader.cs
- FacetDescriptionElement.cs
- WebPartDisplayMode.cs
- DataGridRelationshipRow.cs
- DropSource.cs
- RuleRef.cs
- SettingsContext.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ConstraintStruct.cs
- FrameworkTemplate.cs
- MemberRestriction.cs
- CorePropertiesFilter.cs
- Literal.cs
- GeneralTransform3DTo2DTo3D.cs
- NavigationPropertyEmitter.cs
- FocusTracker.cs
- BuildResultCache.cs
- RawStylusSystemGestureInputReport.cs
- ProviderCollection.cs
- SiteMapProvider.cs
- TCEAdapterGenerator.cs
- SiteMembershipCondition.cs
- wgx_exports.cs
- VirtualDirectoryMapping.cs
- JsonFormatGeneratorStatics.cs
- RecognizeCompletedEventArgs.cs
- PointCollectionConverter.cs
- BitmapEditor.cs
- CellParagraph.cs
- HwndStylusInputProvider.cs
- FlowLayout.cs
- securestring.cs
- URLMembershipCondition.cs
- hresults.cs
- PresentationAppDomainManager.cs
- BindingExpressionBase.cs
- JournalEntryStack.cs
- SecurityTokenValidationException.cs
- DbProviderSpecificTypePropertyAttribute.cs
- FormViewUpdatedEventArgs.cs
- DataSetMappper.cs
- PageWrapper.cs
- MaskedTextProvider.cs
- InternalBufferOverflowException.cs
- IsolatedStorage.cs
- IndexedString.cs
- MergeFailedEvent.cs
- TextServicesPropertyRanges.cs
- SmtpSection.cs
- AutomationEvent.cs
- QueryMatcher.cs
- SqlConnectionHelper.cs
- MobileUserControl.cs
- ObjectReaderCompiler.cs
- MouseGestureValueSerializer.cs
- TextBox.cs
- HtmlWindowCollection.cs
- RichTextBoxConstants.cs