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
- KeyboardEventArgs.cs
- WebControlsSection.cs
- DrawToolTipEventArgs.cs
- CalendarDateRange.cs
- PropertyPath.cs
- AnimationLayer.cs
- SqlHelper.cs
- SqlStatistics.cs
- CallId.cs
- X509Extension.cs
- DoubleCollection.cs
- WarningException.cs
- EdmComplexTypeAttribute.cs
- DataBindEngine.cs
- CheckedListBox.cs
- PolicyManager.cs
- DesignerWithHeader.cs
- FileDialogPermission.cs
- wgx_commands.cs
- OutputCacheSettings.cs
- DynamicILGenerator.cs
- ListControlDesigner.cs
- ConfigXmlComment.cs
- Group.cs
- Intellisense.cs
- EntityAdapter.cs
- RelationshipEndMember.cs
- SystemKeyConverter.cs
- OleDbConnection.cs
- View.cs
- XmlNamedNodeMap.cs
- RtfControls.cs
- MaterialGroup.cs
- X509AsymmetricSecurityKey.cs
- XPathChildIterator.cs
- WindowManager.cs
- DistinctQueryOperator.cs
- RadioButtonList.cs
- AuthenticationModulesSection.cs
- Cell.cs
- MonitorWrapper.cs
- DataGridToolTip.cs
- MenuItem.cs
- LocalizabilityAttribute.cs
- SqlSupersetValidator.cs
- HybridDictionary.cs
- ExtendedPropertyDescriptor.cs
- DataGridViewTextBoxEditingControl.cs
- RepeatButtonAutomationPeer.cs
- FlowDocumentView.cs
- HtmlElementErrorEventArgs.cs
- Rotation3DKeyFrameCollection.cs
- Choices.cs
- DecimalAverageAggregationOperator.cs
- DaylightTime.cs
- Boolean.cs
- StdValidatorsAndConverters.cs
- DataGridItem.cs
- ProfilePropertyMetadata.cs
- QueryableFilterUserControl.cs
- SecurityTraceRecordHelper.cs
- CopyNamespacesAction.cs
- TabControl.cs
- TaskExceptionHolder.cs
- XPathAxisIterator.cs
- WebPartMenu.cs
- KeyValueSerializer.cs
- ExecutionEngineException.cs
- TypefaceMetricsCache.cs
- SortedSetDebugView.cs
- xsdvalidator.cs
- HelloOperationCD1AsyncResult.cs
- externdll.cs
- CoreSwitches.cs
- clipboard.cs
- SqlDataSourceFilteringEventArgs.cs
- InheritedPropertyChangedEventArgs.cs
- TypeBrowserDialog.cs
- WsatProxy.cs
- EntityFunctions.cs
- XmlnsCache.cs
- ResourceContainer.cs
- ServiceHttpModule.cs
- EmbeddedObject.cs
- CodeNamespaceImportCollection.cs
- TTSEvent.cs
- ActivityDesignerAccessibleObject.cs
- EntityViewGenerationConstants.cs
- HtmlSelectionListAdapter.cs
- Lookup.cs
- DataGridColumnFloatingHeader.cs
- EncoderBestFitFallback.cs
- WinInet.cs
- DataGridViewSortCompareEventArgs.cs
- CodeIterationStatement.cs
- MetricEntry.cs
- ImageSourceValueSerializer.cs
- RecognizedWordUnit.cs
- DependencyObjectPropertyDescriptor.cs
- SpecularMaterial.cs