Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAnyElementAttribute.cs / 1305376 / 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.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InstalledFontCollection.cs
- HtmlControl.cs
- NameObjectCollectionBase.cs
- FormatVersion.cs
- RepeatButtonAutomationPeer.cs
- HtmlElement.cs
- ImportContext.cs
- ContextToken.cs
- SafeCryptContextHandle.cs
- ControlCommandSet.cs
- DataGridViewMethods.cs
- translator.cs
- LinearGradientBrush.cs
- ListMarkerSourceInfo.cs
- AuthenticateEventArgs.cs
- PolyBezierSegment.cs
- EndEvent.cs
- ZipIOLocalFileDataDescriptor.cs
- BitmapPalette.cs
- ChangesetResponse.cs
- WebPartVerbsEventArgs.cs
- ReadOnlyCollection.cs
- Pkcs7Recipient.cs
- RefreshPropertiesAttribute.cs
- TextTreeTextBlock.cs
- ProtocolElementCollection.cs
- MenuItem.cs
- FilterEventArgs.cs
- LayoutManager.cs
- ClientViaElement.cs
- EntityObject.cs
- WebContext.cs
- DisplayToken.cs
- BindingValueChangedEventArgs.cs
- SchemaNames.cs
- KerberosTokenFactoryCredential.cs
- EncoderNLS.cs
- PackagingUtilities.cs
- EnumerableCollectionView.cs
- SchemaTableOptionalColumn.cs
- InstanceStoreQueryResult.cs
- DataGridViewHeaderCell.cs
- ExecutionEngineException.cs
- NativeMethodsCLR.cs
- XmlSchemaSimpleContent.cs
- Process.cs
- WebPartZone.cs
- AtomParser.cs
- SelectionWordBreaker.cs
- ApplicationTrust.cs
- DesignerObject.cs
- SelectionPattern.cs
- TimeSpanStorage.cs
- DateTimeUtil.cs
- DataBoundControl.cs
- PostBackTrigger.cs
- DataTableNewRowEvent.cs
- FigureParaClient.cs
- DataGridViewLinkColumn.cs
- DataGridRowClipboardEventArgs.cs
- WinFormsSecurity.cs
- DataGridViewCellStyleChangedEventArgs.cs
- DefaultSettingsSection.cs
- Assert.cs
- EventSinkHelperWriter.cs
- SessionState.cs
- PointUtil.cs
- Set.cs
- InheritedPropertyDescriptor.cs
- NamespaceInfo.cs
- GenericUriParser.cs
- CodeGroup.cs
- FormsAuthenticationUser.cs
- DataObjectAttribute.cs
- BodyGlyph.cs
- EventMappingSettingsCollection.cs
- XPathBinder.cs
- RIPEMD160.cs
- CheckBox.cs
- SqlUDTStorage.cs
- GeometryConverter.cs
- IriParsingElement.cs
- PlatformNotSupportedException.cs
- ContainerVisual.cs
- basevalidator.cs
- Compress.cs
- IisTraceWebEventProvider.cs
- DispatcherEventArgs.cs
- FocusWithinProperty.cs
- ServerIdentity.cs
- UrlAuthFailedErrorFormatter.cs
- MemberRelationshipService.cs
- sqlinternaltransaction.cs
- _NegoState.cs
- LinqDataSourceContextData.cs
- ToolStripDesigner.cs
- UnsafeNativeMethods.cs
- XamlTreeBuilder.cs
- NameTable.cs
- StringValidator.cs