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
- InvokeHandlers.cs
- StreamWriter.cs
- RegexWorker.cs
- StrokeNodeOperations2.cs
- ConfigXmlText.cs
- ObjectDataSourceView.cs
- AdCreatedEventArgs.cs
- BitmapMetadataBlob.cs
- SafePEFileHandle.cs
- ContentFileHelper.cs
- DataServiceQueryOfT.cs
- DataViewSettingCollection.cs
- SerialPinChanges.cs
- XPathNavigator.cs
- XmlILOptimizerVisitor.cs
- TextWriterEngine.cs
- ObsoleteAttribute.cs
- ConstraintCollection.cs
- CatalogZoneBase.cs
- XmlSchemaAttributeGroupRef.cs
- SQLInt64Storage.cs
- HttpHandlerAction.cs
- XamlValidatingReader.cs
- GiveFeedbackEventArgs.cs
- WebPartActionVerb.cs
- BrowserInteropHelper.cs
- DataGridColumnHeader.cs
- GenericEnumerator.cs
- TableLayoutColumnStyleCollection.cs
- TypeDependencyAttribute.cs
- FileDialog_Vista.cs
- DocumentXmlWriter.cs
- DbMetaDataColumnNames.cs
- ImageList.cs
- MetadataWorkspace.cs
- DBSchemaRow.cs
- WebPartConnectVerb.cs
- RegisteredArrayDeclaration.cs
- TimeEnumHelper.cs
- ScrollProviderWrapper.cs
- CollectionChangeEventArgs.cs
- StringUtil.cs
- BinaryFormatter.cs
- PointConverter.cs
- AssertFilter.cs
- ProcessProtocolHandler.cs
- XmlCodeExporter.cs
- RC2CryptoServiceProvider.cs
- NamespaceMapping.cs
- CompilerState.cs
- VirtualizedItemProviderWrapper.cs
- RsaKeyGen.cs
- DataGrid.cs
- HexParser.cs
- PlainXmlDeserializer.cs
- CustomAttributeFormatException.cs
- TouchPoint.cs
- ProtocolsConfiguration.cs
- PrintingPermission.cs
- UIElement3DAutomationPeer.cs
- UnsafeNativeMethods.cs
- XmlObjectSerializerReadContextComplex.cs
- CatalogZoneBase.cs
- ResourcePart.cs
- ResourcePart.cs
- CompilerTypeWithParams.cs
- LockCookie.cs
- MultiView.cs
- SchemaNotation.cs
- AttributeSetAction.cs
- AttachInfo.cs
- WindowsStatusBar.cs
- WorkflowTransactionService.cs
- DropDownButton.cs
- BufferedGenericXmlSecurityToken.cs
- ColumnCollection.cs
- Site.cs
- ClientApiGenerator.cs
- TextAnchor.cs
- XsdDataContractExporter.cs
- StringComparer.cs
- ScrollProperties.cs
- TimeSpanOrInfiniteValidator.cs
- WebEncodingValidatorAttribute.cs
- Options.cs
- _DisconnectOverlappedAsyncResult.cs
- PropertyRef.cs
- ListViewDataItem.cs
- EncodingDataItem.cs
- DesignerPerfEventProvider.cs
- ActivityStatusChangeEventArgs.cs
- Authorization.cs
- XmlSerializerNamespaces.cs
- TableAutomationPeer.cs
- MsmqBindingBase.cs
- Mouse.cs
- DependencyPropertyKey.cs
- EnvelopedSignatureTransform.cs
- baseaxisquery.cs
- Size3DConverter.cs