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
- AppLevelCompilationSectionCache.cs
- ListViewItemMouseHoverEvent.cs
- ASCIIEncoding.cs
- AssemblyBuilderData.cs
- DataSetFieldSchema.cs
- WebPartConnectionCollection.cs
- UnSafeCharBuffer.cs
- LateBoundBitmapDecoder.cs
- IconConverter.cs
- WebHttpDispatchOperationSelector.cs
- ProcessThread.cs
- AssociationSetEnd.cs
- PerformanceCounterPermission.cs
- EntityDataSourceContextCreatingEventArgs.cs
- SslStream.cs
- linebase.cs
- SettingsPropertyWrongTypeException.cs
- ContractInferenceHelper.cs
- ItemCheckEvent.cs
- RuleSetDialog.cs
- XmlExceptionHelper.cs
- MetadataPropertyAttribute.cs
- Constraint.cs
- CommonObjectSecurity.cs
- TrustManager.cs
- ExpressionBuilderContext.cs
- DataRelationPropertyDescriptor.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- XhtmlBasicCommandAdapter.cs
- Privilege.cs
- AnnotationStore.cs
- StagingAreaInputItem.cs
- DependencyObject.cs
- GatewayIPAddressInformationCollection.cs
- OleDbWrapper.cs
- IDispatchConstantAttribute.cs
- PiiTraceSource.cs
- StringPropertyBuilder.cs
- BufferBuilder.cs
- FormParameter.cs
- MarkedHighlightComponent.cs
- SwitchAttribute.cs
- CalendarModeChangedEventArgs.cs
- _Connection.cs
- ImageCollectionCodeDomSerializer.cs
- ConnectionStringEditor.cs
- ImportCatalogPart.cs
- DataListCommandEventArgs.cs
- XmlSerializerAssemblyAttribute.cs
- MetadataItemSerializer.cs
- CompilationRelaxations.cs
- ListBoxDesigner.cs
- GridViewUpdateEventArgs.cs
- NextPreviousPagerField.cs
- DataTableReader.cs
- StorageAssociationSetMapping.cs
- AssertHelper.cs
- FlowchartDesigner.Helpers.cs
- XmlSchema.cs
- XmlDocument.cs
- ToolboxCategoryItems.cs
- XmlWellformedWriter.cs
- WindowCollection.cs
- dsa.cs
- ProcessModelInfo.cs
- ZipIOCentralDirectoryFileHeader.cs
- Input.cs
- ServerProtocol.cs
- MonikerHelper.cs
- GeneralTransformGroup.cs
- FrugalList.cs
- ObjectMemberMapping.cs
- AddInController.cs
- Point3DCollection.cs
- LabelLiteral.cs
- Tile.cs
- IPipelineRuntime.cs
- WmlCommandAdapter.cs
- CheckedListBox.cs
- Quad.cs
- FormatterConverter.cs
- __Filters.cs
- CustomErrorsSectionWrapper.cs
- ExpressionBuilderContext.cs
- AliasedExpr.cs
- FontConverter.cs
- VectorCollectionConverter.cs
- unitconverter.cs
- Psha1DerivedKeyGeneratorHelper.cs
- GCHandleCookieTable.cs
- X509ChainElement.cs
- SiteMapSection.cs
- GenericRootAutomationPeer.cs
- StreamGeometryContext.cs
- DisplayNameAttribute.cs
- WebSysDescriptionAttribute.cs
- StringExpressionSet.cs
- TableCell.cs
- WebHeaderCollection.cs
- RowsCopiedEventArgs.cs