Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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
- BindingManagerDataErrorEventArgs.cs
- MessageSecurityOverHttp.cs
- QuadraticBezierSegment.cs
- Utils.cs
- PropertyEntry.cs
- ContentElementAutomationPeer.cs
- TransformFinalBlockRequest.cs
- ButtonFlatAdapter.cs
- SafeHandles.cs
- MemoryMappedViewStream.cs
- KerberosSecurityTokenProvider.cs
- Calendar.cs
- GroupDescription.cs
- DeclarativeCatalogPartDesigner.cs
- ProfileGroupSettingsCollection.cs
- FloaterParagraph.cs
- DesignerSerializationVisibilityAttribute.cs
- DataGridViewCellLinkedList.cs
- RepeaterItemEventArgs.cs
- ConsumerConnectionPoint.cs
- XmlToDatasetMap.cs
- ScrollEvent.cs
- AnimatedTypeHelpers.cs
- Vector3DAnimationUsingKeyFrames.cs
- TransformCryptoHandle.cs
- RequiredFieldValidator.cs
- Automation.cs
- XmlILStorageConverter.cs
- CustomErrorsSectionWrapper.cs
- BaseCodeDomTreeGenerator.cs
- PrintDialog.cs
- RemoteWebConfigurationHost.cs
- SchemaMapping.cs
- BamlWriter.cs
- TextTreeExtractElementUndoUnit.cs
- BinaryKeyIdentifierClause.cs
- QilCloneVisitor.cs
- QuaternionAnimation.cs
- XsltCompileContext.cs
- Convert.cs
- UniqueEventHelper.cs
- WebPartsPersonalization.cs
- DataSourceView.cs
- KeyNameIdentifierClause.cs
- ControlIdConverter.cs
- StylusCaptureWithinProperty.cs
- GifBitmapDecoder.cs
- InstalledFontCollection.cs
- XmlDownloadManager.cs
- DataGridViewButtonCell.cs
- ClassDataContract.cs
- RootBuilder.cs
- CrossSiteScriptingValidation.cs
- RepeaterItemCollection.cs
- OpCellTreeNode.cs
- GradientBrush.cs
- XamlDesignerSerializationManager.cs
- ResizeGrip.cs
- Facet.cs
- XamlTemplateSerializer.cs
- Line.cs
- MsmqIntegrationInputChannel.cs
- ProviderSettings.cs
- PersonalizationAdministration.cs
- DataRowCollection.cs
- ContentFilePart.cs
- DesignObjectWrapper.cs
- TimeSpanFormat.cs
- UniqueConstraint.cs
- HttpSessionStateWrapper.cs
- CompensatableTransactionScopeActivity.cs
- DefaultTextStore.cs
- HttpRawResponse.cs
- UrlAuthorizationModule.cs
- compensatingcollection.cs
- HtmlWindow.cs
- InlinedAggregationOperator.cs
- AvtEvent.cs
- CursorInteropHelper.cs
- EntitySqlException.cs
- RuntimeConfig.cs
- PtsContext.cs
- GridItemCollection.cs
- UdpContractFilterBehavior.cs
- StaticFileHandler.cs
- XamlNamespaceHelper.cs
- BamlLocalizer.cs
- SqlUnionizer.cs
- LockedBorderGlyph.cs
- ClientEventManager.cs
- ListViewDeleteEventArgs.cs
- SystemFonts.cs
- CommandTreeTypeHelper.cs
- XMLSyntaxException.cs
- RolePrincipal.cs
- ListControl.cs
- TreeViewDesigner.cs
- InfoCardTrace.cs
- XmlQueryOutput.cs
- DataGridLinkButton.cs