Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MetaTableHelper.cs
- webproxy.cs
- NullableBoolConverter.cs
- MemberProjectedSlot.cs
- ClearTypeHintValidation.cs
- WebPartMinimizeVerb.cs
- CommandHelpers.cs
- OutKeywords.cs
- ModuleConfigurationInfo.cs
- TextLine.cs
- _RequestCacheProtocol.cs
- AutomationElement.cs
- TextTreeTextNode.cs
- LexicalChunk.cs
- SqlMethods.cs
- ProfilePropertyNameValidator.cs
- DesignerTextBoxAdapter.cs
- DesignerCategoryAttribute.cs
- DesignerContextDescriptor.cs
- SmiEventSink_Default.cs
- IDReferencePropertyAttribute.cs
- TreeSet.cs
- DictionaryBase.cs
- Timer.cs
- StyleSelector.cs
- DSACryptoServiceProvider.cs
- CodeVariableReferenceExpression.cs
- RepeatBehaviorConverter.cs
- PingReply.cs
- UTF7Encoding.cs
- XhtmlBasicSelectionListAdapter.cs
- StateMachineExecutionState.cs
- SoapBinding.cs
- OleDbFactory.cs
- IdentityNotMappedException.cs
- SafeIUnknown.cs
- ValidationEventArgs.cs
- ForeignKeyConstraint.cs
- StorageRoot.cs
- Debug.cs
- ContentValidator.cs
- ConditionalAttribute.cs
- ViewManager.cs
- XPathNavigatorException.cs
- CompilerGeneratedAttribute.cs
- XmlEncodedRawTextWriter.cs
- StreamedFramingRequestChannel.cs
- GradientStop.cs
- ArraySegment.cs
- TableLayoutRowStyleCollection.cs
- ResourceExpression.cs
- DbConnectionPoolCounters.cs
- ChannelCacheDefaults.cs
- OdbcConnectionPoolProviderInfo.cs
- ParseHttpDate.cs
- TextSchema.cs
- ButtonDesigner.cs
- UserControl.cs
- Timer.cs
- TreeViewCancelEvent.cs
- TimeSpanStorage.cs
- ListChangedEventArgs.cs
- XPathNodeList.cs
- X509ChainPolicy.cs
- WebServiceMethodData.cs
- SuppressMessageAttribute.cs
- WebPartRestoreVerb.cs
- _NegotiateClient.cs
- DbMetaDataFactory.cs
- RegistryPermission.cs
- PersonalizableAttribute.cs
- AttributeEmitter.cs
- FixedBufferAttribute.cs
- WebPartConnectionsCancelEventArgs.cs
- NavigationPropertyAccessor.cs
- HostSecurityManager.cs
- XmlQualifiedNameTest.cs
- mediaeventargs.cs
- DataListCommandEventArgs.cs
- Color.cs
- JumpTask.cs
- Color.cs
- PublisherMembershipCondition.cs
- FormsAuthenticationModule.cs
- TypeBuilder.cs
- TypeDescriptionProviderAttribute.cs
- NamedPipeTransportElement.cs
- InheritanceContextChangedEventManager.cs
- DbConnectionPoolGroup.cs
- ComPersistableTypeElement.cs
- ObjectDataSourceMethodEventArgs.cs
- HttpModule.cs
- AttributeInfo.cs
- CombinedGeometry.cs
- SchemaCollectionPreprocessor.cs
- StateMachineSubscription.cs
- CacheMemory.cs
- BaseResourcesBuildProvider.cs
- XmlEnumAttribute.cs
- HttpClientCertificate.cs