Code:
/ FX-1434 / FX-1434 / 1.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
- Debug.cs
- InputBindingCollection.cs
- FileSecurity.cs
- DataView.cs
- Typeface.cs
- ResourceDefaultValueAttribute.cs
- LinqDataSourceInsertEventArgs.cs
- RepeatBehaviorConverter.cs
- RegisteredScript.cs
- NumberFormatInfo.cs
- PointIndependentAnimationStorage.cs
- LogExtent.cs
- ToolStripPanelSelectionGlyph.cs
- documentation.cs
- SettingsPropertyValueCollection.cs
- GraphicsPathIterator.cs
- QuaternionAnimationUsingKeyFrames.cs
- HtmlSelect.cs
- SqlRecordBuffer.cs
- LeaseManager.cs
- ClickablePoint.cs
- TrackBarRenderer.cs
- PrintingPermission.cs
- GrowingArray.cs
- LogicalExpr.cs
- MarkupWriter.cs
- DbDataReader.cs
- HostingEnvironmentException.cs
- ProtocolElementCollection.cs
- ChangeBlockUndoRecord.cs
- TextInfo.cs
- BindingWorker.cs
- printdlgexmarshaler.cs
- RelationshipFixer.cs
- BulletChrome.cs
- DataGridViewCellMouseEventArgs.cs
- followingsibling.cs
- MimeTypeMapper.cs
- AspNetHostingPermission.cs
- HtmlInputImage.cs
- SafePEFileHandle.cs
- sortedlist.cs
- WebScriptServiceHost.cs
- ForEachDesigner.xaml.cs
- CultureSpecificCharacterBufferRange.cs
- SplineQuaternionKeyFrame.cs
- MostlySingletonList.cs
- hebrewshape.cs
- NetworkInterface.cs
- BufferModesCollection.cs
- OAVariantLib.cs
- ReadWriteObjectLock.cs
- XmlSchemaParticle.cs
- XmlCharCheckingWriter.cs
- CqlWriter.cs
- ToolboxItemCollection.cs
- ExtendedProperty.cs
- SoapSchemaImporter.cs
- IncrementalReadDecoders.cs
- BuildProviderAppliesToAttribute.cs
- TableLayoutCellPaintEventArgs.cs
- CollectionChangeEventArgs.cs
- NodeFunctions.cs
- COAUTHIDENTITY.cs
- ObjectHandle.cs
- XmlSchemaValidationException.cs
- Setter.cs
- ScriptHandlerFactory.cs
- CheckedPointers.cs
- DockPattern.cs
- ReadWriteObjectLock.cs
- x509utils.cs
- ActivityBuilderHelper.cs
- DSACryptoServiceProvider.cs
- InfoCardPolicy.cs
- FontInfo.cs
- ProvideValueServiceProvider.cs
- indexingfiltermarshaler.cs
- DataViewListener.cs
- CompModSwitches.cs
- ConfigurationPropertyCollection.cs
- StructuralCache.cs
- BindableTemplateBuilder.cs
- ListBoxItemAutomationPeer.cs
- ElementInit.cs
- Literal.cs
- DbSource.cs
- IdleTimeoutMonitor.cs
- SamlAuthorizationDecisionClaimResource.cs
- Keywords.cs
- Focus.cs
- TextFragmentEngine.cs
- ConnectionStringSettings.cs
- MaskDescriptors.cs
- PrivateFontCollection.cs
- ColorIndependentAnimationStorage.cs
- COM2PropertyDescriptor.cs
- EntityContainerRelationshipSetEnd.cs
- StoreContentChangedEventArgs.cs
- HandlerMappingMemo.cs