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
- LabelLiteral.cs
- SiteMapSection.cs
- SpotLight.cs
- EdgeModeValidation.cs
- FrameDimension.cs
- DefaultSection.cs
- HandlerBase.cs
- ValidationHelper.cs
- IndicFontClient.cs
- RoutedEventConverter.cs
- DataGridCell.cs
- GetParentChain.cs
- ViewSimplifier.cs
- RayHitTestParameters.cs
- InputReportEventArgs.cs
- TimelineGroup.cs
- KeySpline.cs
- SecondaryIndexList.cs
- XmlSchemaObject.cs
- DataControlFieldCollection.cs
- SetIterators.cs
- GlyphRun.cs
- Comparer.cs
- ExtensionFile.cs
- ImageClickEventArgs.cs
- OdbcConnectionOpen.cs
- PngBitmapEncoder.cs
- KeyValueConfigurationCollection.cs
- StringValidatorAttribute.cs
- ApplicationGesture.cs
- LayoutEditorPart.cs
- ChannelManager.cs
- SessionState.cs
- ChtmlTextWriter.cs
- WebBrowsableAttribute.cs
- TemplateBindingExtension.cs
- InputEventArgs.cs
- regiisutil.cs
- TableItemStyle.cs
- SimpleWebHandlerParser.cs
- MetadataSource.cs
- EntityReference.cs
- EntityException.cs
- CacheSection.cs
- QueryInterceptorAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- SafeBitVector32.cs
- IMembershipProvider.cs
- EventLogTraceListener.cs
- AttributeQuery.cs
- TextServicesLoader.cs
- RelativeSource.cs
- ItemCollection.cs
- ModifiableIteratorCollection.cs
- ObjectListDataBindEventArgs.cs
- HeaderUtility.cs
- ProbeMatchesApril2005.cs
- _AutoWebProxyScriptWrapper.cs
- GenericTypeParameterBuilder.cs
- Link.cs
- AnimatedTypeHelpers.cs
- RawStylusSystemGestureInputReport.cs
- TextBoxAutoCompleteSourceConverter.cs
- CroppedBitmap.cs
- FocusChangedEventArgs.cs
- PriorityRange.cs
- BinaryFormatterWriter.cs
- CollectionTypeElement.cs
- ButtonChrome.cs
- WebPartMenuStyle.cs
- SelectedDatesCollection.cs
- ImageBrush.cs
- RoutedCommand.cs
- CodeSubDirectory.cs
- SourceChangedEventArgs.cs
- SettingsBindableAttribute.cs
- DataViewListener.cs
- LogicalExpr.cs
- XmlMembersMapping.cs
- XmlAggregates.cs
- SendMailErrorEventArgs.cs
- SettingsPropertyWrongTypeException.cs
- HistoryEventArgs.cs
- StringComparer.cs
- keycontainerpermission.cs
- MouseGestureValueSerializer.cs
- DecoderExceptionFallback.cs
- IncrementalReadDecoders.cs
- Itemizer.cs
- XmlValueConverter.cs
- MessageAction.cs
- TargetException.cs
- CodeConstructor.cs
- CollectionContainer.cs
- FilteredDataSetHelper.cs
- ResolveDuplex11AsyncResult.cs
- TypedTableBaseExtensions.cs
- XmlDataCollection.cs
- HeaderedContentControl.cs
- BaseValidator.cs