Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CaseExpr.cs
- BadImageFormatException.cs
- OutgoingWebResponseContext.cs
- DbConnectionHelper.cs
- Cursor.cs
- ContextDataSourceContextData.cs
- Stopwatch.cs
- DataGridViewCellStateChangedEventArgs.cs
- PropertyGridEditorPart.cs
- Material.cs
- ZipPackagePart.cs
- AsyncResult.cs
- AsymmetricKeyExchangeDeformatter.cs
- UIntPtr.cs
- FixUp.cs
- DataRowIndexBuffer.cs
- HtmlInputSubmit.cs
- XmlSchemaSimpleContentRestriction.cs
- ErrorTolerantObjectWriter.cs
- TextEditorSpelling.cs
- StackOverflowException.cs
- MeasurementDCInfo.cs
- StatusBarItemAutomationPeer.cs
- MetadataItemEmitter.cs
- OracleBinary.cs
- ExtentKey.cs
- ImageSource.cs
- NativeMethodsOther.cs
- UnsafePeerToPeerMethods.cs
- _TransmitFileOverlappedAsyncResult.cs
- SmtpReplyReader.cs
- ValidationSummary.cs
- GeneralTransform3D.cs
- ListControl.cs
- ErrorsHelper.cs
- QuaternionAnimation.cs
- cookieexception.cs
- DefaultPrintController.cs
- OdbcEnvironmentHandle.cs
- PartitionedStreamMerger.cs
- SqlConnectionManager.cs
- FontStyleConverter.cs
- ChangePasswordAutoFormat.cs
- WebPageTraceListener.cs
- SspiHelper.cs
- ObjectDataProvider.cs
- BinaryUtilClasses.cs
- FragmentQuery.cs
- IISUnsafeMethods.cs
- SecurityDocument.cs
- CaseInsensitiveHashCodeProvider.cs
- ListSourceHelper.cs
- DataGridViewColumnHeaderCell.cs
- rsa.cs
- HttpModuleAction.cs
- XmlBindingWorker.cs
- StylusPointDescription.cs
- SoundPlayerAction.cs
- MonthChangedEventArgs.cs
- BaseWebProxyFinder.cs
- XPathEmptyIterator.cs
- DataGridViewControlCollection.cs
- LoginName.cs
- streamingZipPartStream.cs
- AsnEncodedData.cs
- _ProxyChain.cs
- Int32Converter.cs
- TimerElapsedEvenArgs.cs
- ReferentialConstraint.cs
- CachedCompositeFamily.cs
- OracleSqlParser.cs
- ECDsa.cs
- Publisher.cs
- AggregateNode.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- PagesChangedEventArgs.cs
- LateBoundBitmapDecoder.cs
- SystemInformation.cs
- UriSectionReader.cs
- ProbeDuplexCD1AsyncResult.cs
- HttpException.cs
- BrowserCapabilitiesCompiler.cs
- MenuItemStyle.cs
- ClonableStack.cs
- RadioButton.cs
- HandleCollector.cs
- XmlCharType.cs
- FileStream.cs
- ErrorProvider.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- SimpleTypeResolver.cs
- TableLayoutSettings.cs
- BindingSource.cs
- RoutedEventArgs.cs
- BitmapEffectInput.cs
- HttpListenerRequest.cs
- ProviderSettings.cs
- BooleanFunctions.cs
- MasterPageBuildProvider.cs
- Visitor.cs