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
- PlainXmlSerializer.cs
- Thread.cs
- Tuple.cs
- TemplatedMailWebEventProvider.cs
- PrinterResolution.cs
- ImageSourceConverter.cs
- CacheEntry.cs
- CultureInfoConverter.cs
- PageCodeDomTreeGenerator.cs
- EncryptedPackageFilter.cs
- _OverlappedAsyncResult.cs
- GAC.cs
- SelectionProcessor.cs
- NativeWindow.cs
- EncryptedReference.cs
- MdImport.cs
- HijriCalendar.cs
- TableStyle.cs
- Touch.cs
- HotCommands.cs
- StatusBar.cs
- Transform.cs
- OutputCacheSettings.cs
- SerializationHelper.cs
- TextDecoration.cs
- input.cs
- TypeConverter.cs
- TextPatternIdentifiers.cs
- TemplateBindingExtensionConverter.cs
- AssemblyContextControlItem.cs
- SHA1Cng.cs
- ComplexTypeEmitter.cs
- UnsafeNativeMethods.cs
- TextTreeDeleteContentUndoUnit.cs
- DetailsViewPagerRow.cs
- DataGridViewSelectedCellCollection.cs
- NumericPagerField.cs
- GetIndexBinder.cs
- TransactionBridge.cs
- KeyNotFoundException.cs
- ConvertersCollection.cs
- DoubleCollectionConverter.cs
- PointKeyFrameCollection.cs
- DataViewManager.cs
- ActivationServices.cs
- OleServicesContext.cs
- Canvas.cs
- KeyConstraint.cs
- ToolZone.cs
- Variable.cs
- OneOfElement.cs
- Point4D.cs
- ValueUtilsSmi.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- PointConverter.cs
- ResourceDictionary.cs
- CodeMemberProperty.cs
- FixedTextSelectionProcessor.cs
- ThemeDictionaryExtension.cs
- ResourceDescriptionAttribute.cs
- PropertyIDSet.cs
- WorkflowInstance.cs
- __FastResourceComparer.cs
- DataColumnChangeEvent.cs
- ContentFileHelper.cs
- VariableBinder.cs
- RenderingBiasValidation.cs
- RemoteWebConfigurationHostServer.cs
- GregorianCalendarHelper.cs
- LoadedOrUnloadedOperation.cs
- TreeNodeStyleCollection.cs
- CellParaClient.cs
- XmlWrappingWriter.cs
- FigureParaClient.cs
- TraceHwndHost.cs
- BitmapScalingModeValidation.cs
- SamlSubjectStatement.cs
- IgnoreDataMemberAttribute.cs
- figurelength.cs
- ListControl.cs
- CurrentTimeZone.cs
- ListItemCollection.cs
- TemplateControlBuildProvider.cs
- ManipulationDevice.cs
- SQLDateTime.cs
- OpenFileDialog.cs
- MultipleViewPatternIdentifiers.cs
- PrintDialogException.cs
- QuestionEventArgs.cs
- PasswordDeriveBytes.cs
- Dispatcher.cs
- XmlChoiceIdentifierAttribute.cs
- AssociationSet.cs
- TdsParameterSetter.cs
- ByteStack.cs
- GridViewUpdatedEventArgs.cs
- CalendarAutoFormat.cs
- Thread.cs
- CollectionBase.cs
- CodeLinePragma.cs