Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Add.cs
- InstanceLockQueryResult.cs
- ArithmeticLiteral.cs
- WhileDesigner.xaml.cs
- RefType.cs
- DataGridViewColumnConverter.cs
- SocketManager.cs
- PathFigure.cs
- EtwTrace.cs
- Pair.cs
- LinkGrep.cs
- XmlValidatingReaderImpl.cs
- PersonalizationProvider.cs
- XmlCollation.cs
- ThaiBuddhistCalendar.cs
- ManagementScope.cs
- SQLDecimalStorage.cs
- MeasurementDCInfo.cs
- IxmlLineInfo.cs
- SrgsRule.cs
- ConfigurationLocationCollection.cs
- QilNode.cs
- WebPartManagerInternals.cs
- XomlDesignerLoader.cs
- Point3DCollection.cs
- SafeEventLogWriteHandle.cs
- ReadContentAsBinaryHelper.cs
- OledbConnectionStringbuilder.cs
- CheckedListBox.cs
- GlyphRun.cs
- ErrorFormatterPage.cs
- RegexRunner.cs
- XPathParser.cs
- HtmlShim.cs
- KeyManager.cs
- CollectionType.cs
- WebPartManagerInternals.cs
- UserControlBuildProvider.cs
- SqlAggregateChecker.cs
- baseaxisquery.cs
- IndexedGlyphRun.cs
- PackagePartCollection.cs
- ObjectStateFormatter.cs
- TypeTypeConverter.cs
- CompareValidator.cs
- XmlDataImplementation.cs
- VectorAnimationUsingKeyFrames.cs
- MethodRental.cs
- HttpModuleAction.cs
- ServiceMetadataExtension.cs
- Triangle.cs
- ThicknessKeyFrameCollection.cs
- DataGridViewCellStyle.cs
- CompilerError.cs
- ControlDesigner.cs
- JsonUriDataContract.cs
- SHA256Managed.cs
- TreeNodeBindingCollection.cs
- AstTree.cs
- IsolatedStorage.cs
- BindUriHelper.cs
- CapacityStreamGeometryContext.cs
- WebEventCodes.cs
- TreeNodeEventArgs.cs
- FlowSwitch.cs
- BinaryKeyIdentifierClause.cs
- _BaseOverlappedAsyncResult.cs
- Enlistment.cs
- RawStylusActions.cs
- Exception.cs
- CompModSwitches.cs
- ObjectHelper.cs
- MenuCommand.cs
- COM2ColorConverter.cs
- ResourceCategoryAttribute.cs
- ViewManager.cs
- InvalidTimeZoneException.cs
- Point4D.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- LicenseContext.cs
- WindowsListViewGroupHelper.cs
- BinaryCommonClasses.cs
- ConfigurationManagerInternal.cs
- PowerModeChangedEventArgs.cs
- CheckedPointers.cs
- Rotation3D.cs
- AbsoluteQuery.cs
- VisualStyleTypesAndProperties.cs
- CheckedPointers.cs
- DataError.cs
- InlineObject.cs
- SplashScreenNativeMethods.cs
- CloseCryptoHandleRequest.cs
- PipelineModuleStepContainer.cs
- UpdatableGenericsFeature.cs
- basenumberconverter.cs
- Update.cs
- DBSchemaTable.cs
- PasswordPropertyTextAttribute.cs
- SessionStateItemCollection.cs