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
- Graphics.cs
- OutKeywords.cs
- DrawingGroup.cs
- BindingExpressionUncommonField.cs
- OneToOneMappingSerializer.cs
- ListDesigner.cs
- PenCursorManager.cs
- GroupItem.cs
- TriggerActionCollection.cs
- WebBrowserBase.cs
- ContentPathSegment.cs
- XmlSchemaType.cs
- OleDbDataAdapter.cs
- HwndMouseInputProvider.cs
- BamlReader.cs
- ExecutionEngineException.cs
- TypeRefElement.cs
- DbConnectionClosed.cs
- ItemsControlAutomationPeer.cs
- DescendentsWalkerBase.cs
- CreatingCookieEventArgs.cs
- XmlSchemaSimpleTypeUnion.cs
- BindingValueChangedEventArgs.cs
- XsltLibrary.cs
- entityreference_tresulttype.cs
- ToolBar.cs
- SiteMapDataSource.cs
- RtfNavigator.cs
- AuthenticationConfig.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- PerformanceCounterCategory.cs
- DataControlFieldCollection.cs
- XmlWriterTraceListener.cs
- SystemMulticastIPAddressInformation.cs
- DataGridViewSelectedRowCollection.cs
- FileClassifier.cs
- ClientScriptManager.cs
- RelationshipType.cs
- RotateTransform.cs
- OracleRowUpdatingEventArgs.cs
- XmlSchemaSimpleTypeRestriction.cs
- ActivityCodeGenerator.cs
- Int32Storage.cs
- ListManagerBindingsCollection.cs
- PackUriHelper.cs
- StreamAsIStream.cs
- XmlSchemaAnnotated.cs
- ProgressBar.cs
- XmlStreamStore.cs
- PropertyPathWorker.cs
- FlowDocumentScrollViewer.cs
- DotExpr.cs
- DataRelation.cs
- DataFormat.cs
- CompiledQueryCacheKey.cs
- IISMapPath.cs
- XPathDescendantIterator.cs
- LineBreak.cs
- OwnerDrawPropertyBag.cs
- TextContainerChangedEventArgs.cs
- SafeMILHandle.cs
- EntityContainerRelationshipSet.cs
- AnnotationAdorner.cs
- FrameworkContentElement.cs
- PolyQuadraticBezierSegment.cs
- ErrorFormatter.cs
- StreamGeometry.cs
- IPEndPoint.cs
- PropertyMap.cs
- CharAnimationUsingKeyFrames.cs
- XmlSubtreeReader.cs
- CharacterString.cs
- ParserOptions.cs
- ProcessInputEventArgs.cs
- SessionEndingEventArgs.cs
- WebPartConnectionsDisconnectVerb.cs
- Effect.cs
- SerializableAttribute.cs
- CreateUserErrorEventArgs.cs
- ListViewItem.cs
- RecipientInfo.cs
- ForeignKeyConstraint.cs
- TabPanel.cs
- CodeConditionStatement.cs
- SqlFormatter.cs
- uribuilder.cs
- PaperSize.cs
- IFormattable.cs
- ZipIOFileItemStream.cs
- WCFBuildProvider.cs
- ErrorInfoXmlDocument.cs
- RtfControls.cs
- COM2ExtendedUITypeEditor.cs
- TTSVoice.cs
- TimelineGroup.cs
- TabControl.cs
- TraceContextRecord.cs
- _FtpDataStream.cs
- DataGridCellClipboardEventArgs.cs
- PackWebResponse.cs