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
- SoapDocumentServiceAttribute.cs
- PathSegmentCollection.cs
- UrlPath.cs
- WMICapabilities.cs
- HeaderedItemsControl.cs
- ArgIterator.cs
- MostlySingletonList.cs
- DataGridViewCellStateChangedEventArgs.cs
- NavigationPropertyEmitter.cs
- DrawingContextWalker.cs
- CodeCastExpression.cs
- SystemIPInterfaceProperties.cs
- SqlError.cs
- SchemaImporter.cs
- BCryptNative.cs
- UpdateManifestForBrowserApplication.cs
- ScrollProviderWrapper.cs
- TextSegment.cs
- HitTestDrawingContextWalker.cs
- FrugalList.cs
- AddInContractAttribute.cs
- StylusPoint.cs
- EntitySqlException.cs
- DelegatingConfigHost.cs
- DrawListViewColumnHeaderEventArgs.cs
- DesignerObject.cs
- ConcurrentDictionary.cs
- DynamicResourceExtension.cs
- SurrogateSelector.cs
- UniqueCodeIdentifierScope.cs
- basecomparevalidator.cs
- MediaContextNotificationWindow.cs
- XmlMemberMapping.cs
- WebPartMovingEventArgs.cs
- ClockGroup.cs
- BitmapSourceSafeMILHandle.cs
- FirewallWrapper.cs
- TableItemProviderWrapper.cs
- ModifiableIteratorCollection.cs
- SpotLight.cs
- ProvideValueServiceProvider.cs
- DependentList.cs
- OpCodes.cs
- Attributes.cs
- StrokeRenderer.cs
- PasswordTextContainer.cs
- GlyphingCache.cs
- TripleDES.cs
- RegexGroup.cs
- ConsumerConnectionPointCollection.cs
- PropertyEntry.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- ObjectNotFoundException.cs
- CompoundFileDeflateTransform.cs
- IteratorDescriptor.cs
- SystemWebCachingSectionGroup.cs
- KeysConverter.cs
- VerticalAlignConverter.cs
- HttpWebRequestElement.cs
- DBConcurrencyException.cs
- ReadWriteObjectLock.cs
- XmlSerializerSection.cs
- EnlistmentState.cs
- EventDescriptor.cs
- HtmlPanelAdapter.cs
- EntityDataSourceState.cs
- codemethodreferenceexpression.cs
- EventDescriptor.cs
- HelpKeywordAttribute.cs
- BitmapEffectInputData.cs
- XmlSchemaExternal.cs
- SkewTransform.cs
- SendMailErrorEventArgs.cs
- ServerValidateEventArgs.cs
- GroupQuery.cs
- TimeIntervalCollection.cs
- SqlDependencyListener.cs
- httpapplicationstate.cs
- TextFormatter.cs
- MobileCategoryAttribute.cs
- HashAlgorithm.cs
- VisualCollection.cs
- CodeAttachEventStatement.cs
- XmlElement.cs
- StoreItemCollection.cs
- PackageDigitalSignature.cs
- SecureConversationServiceCredential.cs
- XmlLinkedNode.cs
- base64Transforms.cs
- DesignOnlyAttribute.cs
- ReceiveActivity.cs
- ExpressionVisitor.cs
- CellLabel.cs
- DataChangedEventManager.cs
- Point4D.cs
- isolationinterop.cs
- ContractCodeDomInfo.cs
- CachingHintValidation.cs
- ImmutableObjectAttribute.cs
- ProtocolsConfigurationHandler.cs