Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAnyElementAttribute.cs / 1305376 / 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.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexGroupCollection.cs
- BinaryQueryOperator.cs
- FixUpCollection.cs
- SmtpLoginAuthenticationModule.cs
- DrawingContextDrawingContextWalker.cs
- TerminateDesigner.cs
- ClientSettingsSection.cs
- ResourceExpressionBuilder.cs
- SkinBuilder.cs
- HtmlInputText.cs
- TextBox.cs
- DbInsertCommandTree.cs
- PerspectiveCamera.cs
- WindowsMenu.cs
- LookupBindingPropertiesAttribute.cs
- DelegatingChannelListener.cs
- DataSourceView.cs
- ScalarConstant.cs
- UInt16.cs
- DispatcherOperation.cs
- SortExpressionBuilder.cs
- ConnectionManagementSection.cs
- BidOverLoads.cs
- PerfCounters.cs
- RtfNavigator.cs
- WebPartEditorOkVerb.cs
- AppModelKnownContentFactory.cs
- Configuration.cs
- ListItemViewAttribute.cs
- UshortList2.cs
- QuerySettings.cs
- RadioButton.cs
- XsdDuration.cs
- SqlCharStream.cs
- OleDbFactory.cs
- ShadowGlyph.cs
- ObjectSet.cs
- RequestQueue.cs
- BuildResultCache.cs
- AnonymousIdentificationModule.cs
- HierarchicalDataTemplate.cs
- RuntimeHelpers.cs
- ObjectQueryExecutionPlan.cs
- AdPostCacheSubstitution.cs
- TreeNodeBinding.cs
- Timer.cs
- RoutingEndpointTrait.cs
- MsmqChannelListenerBase.cs
- FrameworkElement.cs
- InstanceCreationEditor.cs
- InternalPermissions.cs
- MenuItem.cs
- RemoteWebConfigurationHost.cs
- MessageBodyMemberAttribute.cs
- RoleManagerModule.cs
- ProofTokenCryptoHandle.cs
- EntitySet.cs
- QueryCreatedEventArgs.cs
- WindowsContainer.cs
- DataGridPagerStyle.cs
- ListSurrogate.cs
- GenericXmlSecurityTokenAuthenticator.cs
- StylusCollection.cs
- WebPartMenuStyle.cs
- DoubleUtil.cs
- CreateUserWizard.cs
- DataGridRowDetailsEventArgs.cs
- EntityDataSourceReferenceGroup.cs
- ToolStripItemTextRenderEventArgs.cs
- PerformanceCounterLib.cs
- RadioButtonAutomationPeer.cs
- DictationGrammar.cs
- SortDescriptionCollection.cs
- OutputCacheSection.cs
- EventBuilder.cs
- LayoutTableCell.cs
- TextBox.cs
- LinqMaximalSubtreeNominator.cs
- DbReferenceCollection.cs
- GCHandleCookieTable.cs
- Parsers.cs
- StrokeCollection.cs
- MsmqOutputMessage.cs
- LinkArea.cs
- KeyPressEvent.cs
- XhtmlBasicListAdapter.cs
- BamlTreeNode.cs
- TextBoxDesigner.cs
- TTSEngineTypes.cs
- GenericEnumConverter.cs
- HtmlHistory.cs
- ThemeDictionaryExtension.cs
- DataGridViewRowPrePaintEventArgs.cs
- HttpApplication.cs
- IUnknownConstantAttribute.cs
- MarkupCompilePass1.cs
- WorkflowCommandExtensionItem.cs
- ManipulationCompletedEventArgs.cs
- XmlName.cs
- InternalConfigEventArgs.cs