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
- ComponentResourceKey.cs
- UIElementIsland.cs
- XmlSignificantWhitespace.cs
- AdornerHitTestResult.cs
- processwaithandle.cs
- OpacityConverter.cs
- OrderedDictionary.cs
- SectionUpdates.cs
- ResourceWriter.cs
- UnsafeNativeMethods.cs
- DefaultSection.cs
- BaseConfigurationRecord.cs
- GuidelineCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- IdentityReference.cs
- ScrollBarRenderer.cs
- Clause.cs
- SymmetricCryptoHandle.cs
- UrlUtility.cs
- HostedElements.cs
- MappingException.cs
- SeparatorAutomationPeer.cs
- StringToken.cs
- HistoryEventArgs.cs
- CreateUserWizard.cs
- RoleServiceManager.cs
- ConditionalAttribute.cs
- SettingsBindableAttribute.cs
- StylusCollection.cs
- hresults.cs
- Drawing.cs
- storagemappingitemcollection.viewdictionary.cs
- WindowPatternIdentifiers.cs
- FastPropertyAccessor.cs
- LayoutTable.cs
- Pointer.cs
- DataObjectAttribute.cs
- HttpCookiesSection.cs
- EnterpriseServicesHelper.cs
- ListControl.cs
- ScrollEvent.cs
- RadioButtonBaseAdapter.cs
- DrawingCollection.cs
- NameObjectCollectionBase.cs
- FixedFindEngine.cs
- Collection.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- CharUnicodeInfo.cs
- Command.cs
- HtmlInputReset.cs
- Row.cs
- ImmutableDispatchRuntime.cs
- WebPartCloseVerb.cs
- RotateTransform3D.cs
- ContentDisposition.cs
- ContactManager.cs
- _emptywebproxy.cs
- ColumnPropertiesGroup.cs
- ConstraintStruct.cs
- DockPattern.cs
- ReadOnlyObservableCollection.cs
- SqlBinder.cs
- GeometryCollection.cs
- Clock.cs
- SetStoryboardSpeedRatio.cs
- CursorConverter.cs
- AsmxEndpointPickerExtension.cs
- ColorConvertedBitmap.cs
- DesignerGenericWebPart.cs
- SqlSelectStatement.cs
- StrokeNodeEnumerator.cs
- BasicBrowserDialog.designer.cs
- SyndicationSerializer.cs
- ToolboxItem.cs
- SharedStatics.cs
- BCryptNative.cs
- InputQueueChannel.cs
- VisualStyleElement.cs
- EnumType.cs
- SafeHandles.cs
- MemberAccessException.cs
- XmlFormatExtensionAttribute.cs
- PointCollection.cs
- ImageAttributes.cs
- ExtensionFile.cs
- PropertyPushdownHelper.cs
- ParenthesizePropertyNameAttribute.cs
- XmlStringTable.cs
- SmiRequestExecutor.cs
- PageBuildProvider.cs
- ObjectMemberMapping.cs
- Ppl.cs
- RequestResizeEvent.cs
- AuthorizationRuleCollection.cs
- AutomationPropertyInfo.cs
- SQLDouble.cs
- RoleGroup.cs
- DefaultClaimSet.cs
- BuildProviderCollection.cs
- SettingsProviderCollection.cs