Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAttributeAttribute.cs / 1305376 / 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
- MdImport.cs
- KnownBoxes.cs
- DataGridItemEventArgs.cs
- TypographyProperties.cs
- MultiSelector.cs
- ImageField.cs
- IListConverters.cs
- BaseComponentEditor.cs
- ReliableSessionElement.cs
- XmlSchemaType.cs
- DataTableMapping.cs
- HashRepartitionEnumerator.cs
- ExtentKey.cs
- SecondaryViewProvider.cs
- MemberMemberBinding.cs
- SerializationObjectManager.cs
- SiteOfOriginPart.cs
- StringPropertyBuilder.cs
- LogFlushAsyncResult.cs
- DrawingContextDrawingContextWalker.cs
- CommentEmitter.cs
- MSHTMLHostUtil.cs
- DataGridView.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- InternalCache.cs
- SchemaElementLookUpTable.cs
- OleDbRowUpdatedEvent.cs
- FollowerQueueCreator.cs
- ConnectivityStatus.cs
- BamlVersionHeader.cs
- InkSerializer.cs
- xdrvalidator.cs
- DataGridColumnsPage.cs
- HelloMessageApril2005.cs
- ProfileManager.cs
- ItemCollection.cs
- BoolExpr.cs
- WindowsButton.cs
- NameValueConfigurationElement.cs
- InProcStateClientManager.cs
- MDIWindowDialog.cs
- FullTextLine.cs
- SplitterPanelDesigner.cs
- HtmlInputPassword.cs
- SmtpNegotiateAuthenticationModule.cs
- relpropertyhelper.cs
- KeyValueInternalCollection.cs
- GPRECT.cs
- NextPreviousPagerField.cs
- BroadcastEventHelper.cs
- HeaderPanel.cs
- HwndPanningFeedback.cs
- BinaryObjectInfo.cs
- Lease.cs
- Logging.cs
- Freezable.cs
- CharKeyFrameCollection.cs
- Int64KeyFrameCollection.cs
- DataGridViewColumn.cs
- WindowsGrip.cs
- FileDialogCustomPlace.cs
- TextEndOfParagraph.cs
- ReadOnlyCollectionBase.cs
- StorageAssociationTypeMapping.cs
- TextRunCache.cs
- SchemaHelper.cs
- Point3DCollectionConverter.cs
- Matrix3D.cs
- ApplicationSettingsBase.cs
- WorkItem.cs
- WebServiceErrorEvent.cs
- RealizedColumnsBlock.cs
- DataSourceXmlSerializer.cs
- TableColumn.cs
- OuterGlowBitmapEffect.cs
- VoiceSynthesis.cs
- ReadOnlyDictionary.cs
- SqlAliasesReferenced.cs
- Rule.cs
- TemplateColumn.cs
- HttpStreams.cs
- ResourceReferenceExpression.cs
- ArrayConverter.cs
- ToolboxItemWrapper.cs
- ObjectQuery.cs
- ToggleButtonAutomationPeer.cs
- FtpWebResponse.cs
- ListBindingHelper.cs
- SizeF.cs
- CalloutQueueItem.cs
- PropertyChangedEventManager.cs
- TypeDescriptionProvider.cs
- WSSecureConversationDec2005.cs
- MarkupExtensionReturnTypeAttribute.cs
- Model3DCollection.cs
- Int32Rect.cs
- WebPartCollection.cs
- Win32.cs
- DBDataPermission.cs
- HatchBrush.cs