Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. //------------------------------------------------------------------------------ //[To be supplied.] ///// 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
- EntityDesignerDataSourceView.cs
- Composition.cs
- ScriptServiceAttribute.cs
- SecurityCapabilities.cs
- RemoveStoryboard.cs
- InternalSafeNativeMethods.cs
- TransactionTraceIdentifier.cs
- Region.cs
- NameSpaceExtractor.cs
- BitmapSourceSafeMILHandle.cs
- EndpointNotFoundException.cs
- ViewService.cs
- SqlExpander.cs
- AdornerDecorator.cs
- DataGridViewEditingControlShowingEventArgs.cs
- MsmqProcessProtocolHandler.cs
- DriveNotFoundException.cs
- DelegatedStream.cs
- EmbossBitmapEffect.cs
- ScrollViewerAutomationPeer.cs
- MimeBasePart.cs
- MustUnderstandSoapException.cs
- LinkArea.cs
- LoginView.cs
- _NegoState.cs
- ScriptingRoleServiceSection.cs
- OleDbReferenceCollection.cs
- FileSystemWatcher.cs
- FormattedText.cs
- DataGridViewCellStyleChangedEventArgs.cs
- GlyphManager.cs
- EventLogPermissionAttribute.cs
- CloseCryptoHandleRequest.cs
- NegationPusher.cs
- LineSegment.cs
- SchemaImporter.cs
- TransactedReceiveData.cs
- EncodingTable.cs
- XPathArrayIterator.cs
- LayoutEditorPart.cs
- ColumnCollection.cs
- Column.cs
- AnnouncementInnerClientCD1.cs
- IResourceProvider.cs
- MimePart.cs
- SamlAttributeStatement.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- BindToObject.cs
- Utility.cs
- TypeNameParser.cs
- ModelItem.cs
- WindowsNonControl.cs
- IntPtr.cs
- ZipIOCentralDirectoryBlock.cs
- TemplateDefinition.cs
- NewArrayExpression.cs
- ItemChangedEventArgs.cs
- Dynamic.cs
- MulticastOption.cs
- SqlGenericUtil.cs
- NonBatchDirectoryCompiler.cs
- InfocardExtendedInformationEntry.cs
- X509CertificateValidator.cs
- SafeViewOfFileHandle.cs
- NumericUpDownAccelerationCollection.cs
- FeatureSupport.cs
- Receive.cs
- ServiceOperationParameter.cs
- EntityDesignerDataSourceView.cs
- SafeEventLogReadHandle.cs
- SendMailErrorEventArgs.cs
- InternalEnumValidator.cs
- PagedDataSource.cs
- TextCharacters.cs
- InlineObject.cs
- FacetValueContainer.cs
- PageThemeCodeDomTreeGenerator.cs
- ObjectDataSourceDisposingEventArgs.cs
- SqlDataSourceQueryConverter.cs
- ComponentResourceKey.cs
- ParentQuery.cs
- DataExpression.cs
- SQLBytesStorage.cs
- FamilyTypefaceCollection.cs
- XMLSchema.cs
- SystemIPInterfaceStatistics.cs
- Brush.cs
- smtppermission.cs
- MethodImplAttribute.cs
- DBBindings.cs
- IPPacketInformation.cs
- PrinterSettings.cs
- ControlBuilder.cs
- StringSorter.cs
- ErrorRuntimeConfig.cs
- SessionStateSection.cs
- MonitoringDescriptionAttribute.cs
- TogglePatternIdentifiers.cs
- EndpointBehaviorElementCollection.cs
- Int16AnimationBase.cs