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
- AnimatedTypeHelpers.cs
- BinarySecretKeyIdentifierClause.cs
- HTMLTextWriter.cs
- XmlReflectionImporter.cs
- IncrementalReadDecoders.cs
- DbFunctionCommandTree.cs
- ToolBar.cs
- SecurityUtils.cs
- Merger.cs
- Form.cs
- DifferencingCollection.cs
- CroppedBitmap.cs
- SiteMapProvider.cs
- SpotLight.cs
- EDesignUtil.cs
- StringCollectionMarkupSerializer.cs
- PriorityChain.cs
- CreateRefExpr.cs
- basenumberconverter.cs
- XmlUTF8TextWriter.cs
- FileDataSourceCache.cs
- PasswordTextNavigator.cs
- DrawingVisual.cs
- AsyncOperation.cs
- SHA256Managed.cs
- QilStrConcatenator.cs
- ClientFormsAuthenticationCredentials.cs
- DataControlPagerLinkButton.cs
- DesignerDataSchemaClass.cs
- GridViewRowCollection.cs
- Geometry3D.cs
- FocusChangedEventArgs.cs
- ResourceManager.cs
- GeometryDrawing.cs
- ShortcutKeysEditor.cs
- GridViewDeletedEventArgs.cs
- DockPanel.cs
- StylusTouchDevice.cs
- GeneralTransform3D.cs
- SortDescription.cs
- StyleBamlTreeBuilder.cs
- _NestedSingleAsyncResult.cs
- ProcessThreadCollection.cs
- SamlAttribute.cs
- Int16AnimationUsingKeyFrames.cs
- CultureMapper.cs
- MobileListItem.cs
- HotCommands.cs
- XmlSchemaObject.cs
- XPathAxisIterator.cs
- NamedPipeChannelFactory.cs
- NumericExpr.cs
- NullableConverter.cs
- MetadataCacheItem.cs
- PrintSchema.cs
- FileDialog.cs
- UTF8Encoding.cs
- OutputCacheSection.cs
- WindowProviderWrapper.cs
- LogicalMethodInfo.cs
- OutputCacheProfile.cs
- TableRow.cs
- ColorConvertedBitmap.cs
- XNodeValidator.cs
- Latin1Encoding.cs
- UseLicense.cs
- HttpModuleAction.cs
- MethodBuilderInstantiation.cs
- DataGridViewCellFormattingEventArgs.cs
- XmlILAnnotation.cs
- KeyNotFoundException.cs
- SmtpSection.cs
- CryptoApi.cs
- XmlAttributes.cs
- SoapHeaders.cs
- XmlAggregates.cs
- CoTaskMemHandle.cs
- Win32KeyboardDevice.cs
- AccessKeyManager.cs
- ScrollItemPattern.cs
- ValidationError.cs
- RbTree.cs
- ScaleTransform.cs
- ToolStripOverflow.cs
- XmlSchemaComplexType.cs
- ElementHostAutomationPeer.cs
- ToolStripSettings.cs
- CompositeActivityTypeDescriptorProvider.cs
- BamlRecordHelper.cs
- WaitHandleCannotBeOpenedException.cs
- DesignerSerializationOptionsAttribute.cs
- GcHandle.cs
- ConfigurationValues.cs
- SystemMulticastIPAddressInformation.cs
- DesignerRegionMouseEventArgs.cs
- CompModSwitches.cs
- AddInEnvironment.cs
- DataListItemEventArgs.cs
- NumericUpDownAcceleration.cs
- ObjectConverter.cs