Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HandlerFactoryCache.cs
- StreamWithDictionary.cs
- __Filters.cs
- LambdaCompiler.Generated.cs
- SystemInfo.cs
- IItemContainerGenerator.cs
- Rectangle.cs
- AndCondition.cs
- TypeDescriptor.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- SqlDataSourceQueryConverter.cs
- LoopExpression.cs
- WebPartTransformerCollection.cs
- Stylus.cs
- MonikerSyntaxException.cs
- TimeZone.cs
- LogManagementAsyncResult.cs
- NativeCppClassAttribute.cs
- IOException.cs
- GridViewDeleteEventArgs.cs
- MasterPageBuildProvider.cs
- VBCodeProvider.cs
- CryptoKeySecurity.cs
- CheckBoxAutomationPeer.cs
- ScriptReferenceEventArgs.cs
- DecimalAverageAggregationOperator.cs
- SQLByteStorage.cs
- Literal.cs
- BamlResourceSerializer.cs
- ClickablePoint.cs
- SymmetricAlgorithm.cs
- ProfileManager.cs
- WebExceptionStatus.cs
- WindowsFont.cs
- ParamArrayAttribute.cs
- InfoCardHelper.cs
- ConfigurationCollectionAttribute.cs
- ReaderWriterLockSlim.cs
- ComponentChangingEvent.cs
- CodeStatementCollection.cs
- DrawingGroupDrawingContext.cs
- _BasicClient.cs
- QueryExecutionOption.cs
- ConfigUtil.cs
- PromptEventArgs.cs
- XmlTextAttribute.cs
- List.cs
- Debug.cs
- XmlSchemaAppInfo.cs
- DynamicHyperLink.cs
- ObjectPersistData.cs
- Version.cs
- RangeBase.cs
- Comparer.cs
- DataObjectFieldAttribute.cs
- Rotation3D.cs
- LookupBindingPropertiesAttribute.cs
- VirtualPathProvider.cs
- httpserverutility.cs
- EventLogLink.cs
- UnsafeNativeMethods.cs
- ErrorRuntimeConfig.cs
- RequestCacheValidator.cs
- DSACryptoServiceProvider.cs
- HMACSHA256.cs
- MaskInputRejectedEventArgs.cs
- StrokeNode.cs
- ClearTypeHintValidation.cs
- TextTrailingCharacterEllipsis.cs
- RoleManagerModule.cs
- CustomValidator.cs
- SqlDataReaderSmi.cs
- SimpleMailWebEventProvider.cs
- MatrixTransform.cs
- PriorityChain.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- StylusButtonEventArgs.cs
- DataGridViewBand.cs
- mediapermission.cs
- JavaScriptObjectDeserializer.cs
- ConnectionProviderAttribute.cs
- WpfGeneratedKnownProperties.cs
- PixelFormat.cs
- MouseButtonEventArgs.cs
- IsolatedStorageException.cs
- TextContainerChangeEventArgs.cs
- _SslSessionsCache.cs
- RecommendedAsConfigurableAttribute.cs
- AsyncPostBackTrigger.cs
- FunctionMappingTranslator.cs
- XmlHierarchyData.cs
- RequestNavigateEventArgs.cs
- ModifierKeysConverter.cs
- PostBackTrigger.cs
- DateTimeFormatInfoScanner.cs
- RemoteWebConfigurationHost.cs
- Solver.cs
- Empty.cs
- ScrollItemPattern.cs
- OverrideMode.cs