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
- HttpResponse.cs
- HtmlInputCheckBox.cs
- PersistenceException.cs
- ClassGenerator.cs
- DockProviderWrapper.cs
- dbdatarecord.cs
- GeneralTransformCollection.cs
- XmlJsonWriter.cs
- SystemNetworkInterface.cs
- SpellerInterop.cs
- EncodingTable.cs
- ValueUtilsSmi.cs
- _AutoWebProxyScriptHelper.cs
- RootBrowserWindowProxy.cs
- shaperfactoryquerycacheentry.cs
- ApplicationServicesHostFactory.cs
- ZoneLinkButton.cs
- WebPartVerbsEventArgs.cs
- TextRangeAdaptor.cs
- RenderTargetBitmap.cs
- DesignerRegionCollection.cs
- EntityDataSourceState.cs
- SetState.cs
- WorkflowApplicationTerminatedException.cs
- XsltException.cs
- QualifiedCellIdBoolean.cs
- DesignerHost.cs
- DeploymentSection.cs
- SerializationInfo.cs
- RightNameExpirationInfoPair.cs
- unitconverter.cs
- KeyedHashAlgorithm.cs
- GcHandle.cs
- TreeViewHitTestInfo.cs
- DataRow.cs
- Parsers.cs
- EncodingTable.cs
- ApplicationSecurityInfo.cs
- Polygon.cs
- NativeActivityFaultContext.cs
- MultipleViewPattern.cs
- CursorConverter.cs
- EntitySet.cs
- FlowchartStart.xaml.cs
- HttpHeaderCollection.cs
- StyleCollectionEditor.cs
- ComponentEditorForm.cs
- TcpProcessProtocolHandler.cs
- ImageCodecInfoPrivate.cs
- DrawingContext.cs
- NavigationService.cs
- ToolboxItem.cs
- SortAction.cs
- IndentedTextWriter.cs
- WebPartZoneCollection.cs
- ToolStripContainer.cs
- CompilerError.cs
- OutputChannelBinder.cs
- SmiMetaData.cs
- SqlMultiplexer.cs
- ComponentResourceKeyConverter.cs
- RectangleGeometry.cs
- DynamicResourceExtensionConverter.cs
- DataGridPageChangedEventArgs.cs
- AttributeUsageAttribute.cs
- QuaternionAnimation.cs
- AsyncPostBackTrigger.cs
- BaseContextMenu.cs
- ColumnPropertiesGroup.cs
- EndEvent.cs
- TabPage.cs
- cache.cs
- Storyboard.cs
- DispatcherProcessingDisabled.cs
- XmlBufferReader.cs
- CacheDependency.cs
- SchemaNamespaceManager.cs
- DataSourceCache.cs
- ContextMenu.cs
- BufferedReadStream.cs
- SrgsSemanticInterpretationTag.cs
- XamlPoint3DCollectionSerializer.cs
- DataSourceConverter.cs
- TextRangeEditTables.cs
- ObjectDesignerDataSourceView.cs
- DateTimeOffsetAdapter.cs
- FormParameter.cs
- NavigationPropertySingletonExpression.cs
- Model3DGroup.cs
- ProxyElement.cs
- EventLogLink.cs
- InternalDispatchObject.cs
- XmlCharType.cs
- CaseCqlBlock.cs
- JpegBitmapDecoder.cs
- CallbackTimeoutsBehavior.cs
- DefaultProxySection.cs
- SqlOuterApplyReducer.cs
- ZipIOExtraFieldPaddingElement.cs
- assemblycache.cs