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
- HttpCookieCollection.cs
- XmlSortKeyAccumulator.cs
- WhitespaceSignificantCollectionAttribute.cs
- FontDriver.cs
- PropertyChangedEventArgs.cs
- FrameworkTextComposition.cs
- ColumnResizeUndoUnit.cs
- XmlNodeChangedEventArgs.cs
- InheritanceContextHelper.cs
- ExtensionSimplifierMarkupObject.cs
- PerformanceCounterPermissionEntry.cs
- HttpBrowserCapabilitiesWrapper.cs
- CheckBoxPopupAdapter.cs
- NetTcpSectionData.cs
- QilCloneVisitor.cs
- ListViewAutomationPeer.cs
- EntityDataSourceViewSchema.cs
- RC2.cs
- Util.cs
- BigInt.cs
- LocatorBase.cs
- PriorityBinding.cs
- CapabilitiesState.cs
- BitmapEncoder.cs
- QilBinary.cs
- DemultiplexingDispatchMessageFormatter.cs
- Function.cs
- SmiGettersStream.cs
- MasterPageCodeDomTreeGenerator.cs
- SafeEventLogReadHandle.cs
- DefaultPrintController.cs
- ButtonColumn.cs
- FormViewModeEventArgs.cs
- WebBrowserProgressChangedEventHandler.cs
- LateBoundChannelParameterCollection.cs
- ListItemsPage.cs
- SendParametersContent.cs
- CatalogZoneBase.cs
- StorageTypeMapping.cs
- IisTraceWebEventProvider.cs
- SrgsGrammarCompiler.cs
- Point3DCollection.cs
- FrameSecurityDescriptor.cs
- XamlFigureLengthSerializer.cs
- TreeViewHitTestInfo.cs
- Highlights.cs
- TreeView.cs
- SimpleNameService.cs
- EllipticalNodeOperations.cs
- CallbackHandler.cs
- ServiceRoute.cs
- ObjectIDGenerator.cs
- AutomationPattern.cs
- FormViewCommandEventArgs.cs
- Walker.cs
- BrowserCapabilitiesCompiler.cs
- TreeNodeBinding.cs
- MobileTextWriter.cs
- ObjectCacheHost.cs
- ComponentSerializationService.cs
- AlignmentYValidation.cs
- MiniLockedBorderGlyph.cs
- MenuItemBindingCollection.cs
- ServerValidateEventArgs.cs
- OletxResourceManager.cs
- PresentationTraceSources.cs
- XMLSyntaxException.cs
- DecoderFallbackWithFailureFlag.cs
- LocalClientSecuritySettingsElement.cs
- GrammarBuilderRuleRef.cs
- MemberProjectedSlot.cs
- CodeAttributeDeclaration.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- Solver.cs
- DocumentSchemaValidator.cs
- ComponentEvent.cs
- DataTemplateKey.cs
- Activator.cs
- DirectoryRootQuery.cs
- IteratorAsyncResult.cs
- OperationContextScope.cs
- SspiSecurityTokenProvider.cs
- MdImport.cs
- Substitution.cs
- Empty.cs
- QueueProcessor.cs
- EntityReference.cs
- FragmentQueryKB.cs
- ImageCodecInfoPrivate.cs
- HebrewNumber.cs
- AlternateView.cs
- NativeMethods.cs
- TextDocumentView.cs
- AutomationFocusChangedEventArgs.cs
- DispatcherFrame.cs
- SemaphoreFullException.cs
- ReceiveMessageContent.cs
- AdRotator.cs
- BamlWriter.cs
- Lease.cs