Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlAnyElementAttribute.cs / 1 / XmlAnyElementAttribute.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, AllowMultiple=true)] public class XmlAnyElementAttribute : System.Attribute { string name; string ns; int order = -1; bool nsSpecified = false; ///[To be supplied.] ////// /// public XmlAnyElementAttribute() { } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name, string ns) { this.name = name; this.ns = ns; nsSpecified = true; } ///[To be supplied.] ////// /// public string Name { get { return name == null ? string.Empty : name; } set { name = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; nsSpecified = true; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = value; } } internal bool NamespaceSpecified { get { return nsSpecified; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpHostedTransportConfiguration.cs
- OutputCacheSettingsSection.cs
- VideoDrawing.cs
- SslStream.cs
- NetTcpSecurity.cs
- XmlSerializerFactory.cs
- XmlUtf8RawTextWriter.cs
- ClientData.cs
- ContainerParagraph.cs
- SmiGettersStream.cs
- DataSourceHelper.cs
- StylusEditingBehavior.cs
- HostVisual.cs
- EventLogSession.cs
- DocumentPageHost.cs
- AnchoredBlock.cs
- EnglishPluralizationService.cs
- SourceSwitch.cs
- ScrollData.cs
- Sorting.cs
- RectangleHotSpot.cs
- TagMapInfo.cs
- SelectedCellsChangedEventArgs.cs
- PageCatalogPart.cs
- WebUtil.cs
- PartitionResolver.cs
- DataSourceControl.cs
- ReferenceTypeElement.cs
- PingReply.cs
- ToolStripPanelDesigner.cs
- precedingsibling.cs
- DecoderExceptionFallback.cs
- FileDialog_Vista_Interop.cs
- ControllableStoryboardAction.cs
- X509Certificate.cs
- TypeInfo.cs
- TraceListeners.cs
- NamedPermissionSet.cs
- CommandValueSerializer.cs
- FixedPageStructure.cs
- XpsManager.cs
- ReaderContextStackData.cs
- GlobalItem.cs
- XmlWriterTraceListener.cs
- HttpModuleCollection.cs
- HttpInputStream.cs
- XhtmlTextWriter.cs
- ParameterToken.cs
- NativeMethods.cs
- SendKeys.cs
- EncodingTable.cs
- SponsorHelper.cs
- CustomWebEventKey.cs
- RestClientProxyHandler.cs
- PeerCustomResolverElement.cs
- HttpRuntimeSection.cs
- unitconverter.cs
- RawStylusSystemGestureInputReport.cs
- SingleSelectRootGridEntry.cs
- TypeResolvingOptionsAttribute.cs
- HtmlTextArea.cs
- DES.cs
- SystemIPGlobalStatistics.cs
- StorageScalarPropertyMapping.cs
- BaseServiceProvider.cs
- MarkupCompiler.cs
- AttributeAction.cs
- ValidatedControlConverter.cs
- HtmlInputText.cs
- SiteMapPath.cs
- BitmapEffectInputData.cs
- DataGridSortCommandEventArgs.cs
- UnregisterInfo.cs
- StyleSheet.cs
- SizeFConverter.cs
- KnownColorTable.cs
- DeviceContexts.cs
- CmsUtils.cs
- X509Chain.cs
- CompositeControl.cs
- DispatcherEventArgs.cs
- XmlCharacterData.cs
- DataGridView.cs
- PersistenceTypeAttribute.cs
- QilDataSource.cs
- VisualStyleRenderer.cs
- SafeNativeMethods.cs
- MessageAction.cs
- PathSegment.cs
- DataSourceConverter.cs
- SqlGatherConsumedAliases.cs
- TimeIntervalCollection.cs
- WebControlsSection.cs
- SqlRetyper.cs
- SafeProcessHandle.cs
- QilParameter.cs
- GridViewRow.cs
- ValueExpressions.cs
- PopupEventArgs.cs
- Converter.cs