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
- PolicyUnit.cs
- ImmutableObjectAttribute.cs
- TreeView.cs
- CodeNamespace.cs
- CompletedAsyncResult.cs
- Convert.cs
- WindowInteropHelper.cs
- SettingsProperty.cs
- UnmanagedMemoryStream.cs
- LogEntryHeaderDeserializer.cs
- ILGenerator.cs
- ToolBar.cs
- StyleCollection.cs
- XmlIterators.cs
- DateTimeFormatInfoScanner.cs
- BoundPropertyEntry.cs
- ListViewItemSelectionChangedEvent.cs
- CreateUserErrorEventArgs.cs
- SubpageParagraph.cs
- IPAddressCollection.cs
- AnnotationComponentManager.cs
- ValidationHelper.cs
- Internal.cs
- OpenTypeLayout.cs
- PcmConverter.cs
- PropertyReferenceExtension.cs
- List.cs
- WebPartConnectionsCancelEventArgs.cs
- AuthenticationModuleElement.cs
- SectionInformation.cs
- XhtmlBasicTextBoxAdapter.cs
- SevenBitStream.cs
- EncryptedPackageFilter.cs
- BitmapVisualManager.cs
- ThicknessAnimationUsingKeyFrames.cs
- DPTypeDescriptorContext.cs
- PrintDocument.cs
- Paragraph.cs
- DefaultWorkflowSchedulerService.cs
- UpdateRecord.cs
- PathData.cs
- FrameworkElement.cs
- XPathConvert.cs
- DataServiceKeyAttribute.cs
- DeferredElementTreeState.cs
- Page.cs
- WebEvents.cs
- HashAlgorithm.cs
- ByteRangeDownloader.cs
- DataGridViewCellValidatingEventArgs.cs
- ElementsClipboardData.cs
- XmlCharType.cs
- DivideByZeroException.cs
- NamedPipeConnectionPool.cs
- Focus.cs
- DiscoveryReferences.cs
- MimePart.cs
- PathGeometry.cs
- TextParentUndoUnit.cs
- DateTimeOffsetAdapter.cs
- AssemblyAttributes.cs
- TraceContextRecord.cs
- MemberMaps.cs
- TrustManagerMoreInformation.cs
- ChildTable.cs
- QilName.cs
- SafeEventLogReadHandle.cs
- Crc32.cs
- LoadWorkflowByKeyAsyncResult.cs
- DataGridPreparingCellForEditEventArgs.cs
- CellParagraph.cs
- SecurityContext.cs
- NeedSkipTokenVisitor.cs
- MediaContext.cs
- DataPagerField.cs
- StreamGeometryContext.cs
- XmlSerializerNamespaces.cs
- FixedFlowMap.cs
- activationcontext.cs
- FileNotFoundException.cs
- TargetFrameworkAttribute.cs
- SymbolEqualComparer.cs
- EventKeyword.cs
- HtmlInputReset.cs
- PenThread.cs
- Registry.cs
- PathStreamGeometryContext.cs
- StylusPoint.cs
- TextElementEnumerator.cs
- SemanticResultKey.cs
- Sequence.cs
- ColumnTypeConverter.cs
- DiagnosticsConfigurationHandler.cs
- Globals.cs
- TextBoxAutoCompleteSourceConverter.cs
- ConnectionStringsExpressionBuilder.cs
- HtmlAnchor.cs
- IndentedTextWriter.cs
- Subtree.cs
- PackageRelationshipSelector.cs