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
- TimeoutException.cs
- ReferencedCollectionType.cs
- _NtlmClient.cs
- LinqExpressionNormalizer.cs
- PenThread.cs
- OleDbRowUpdatingEvent.cs
- XmlSchemaSimpleType.cs
- X509CertificateInitiatorServiceCredential.cs
- AddIn.cs
- AnnouncementEndpointElement.cs
- SerializationSectionGroup.cs
- XmlSchemaComplexContentExtension.cs
- BrowserDefinitionCollection.cs
- TextFindEngine.cs
- DBBindings.cs
- _LazyAsyncResult.cs
- CompositeControl.cs
- FormsAuthenticationEventArgs.cs
- IfAction.cs
- ResourceSet.cs
- Substitution.cs
- TraceHelpers.cs
- ColorConvertedBitmapExtension.cs
- NamespaceMapping.cs
- StructuralType.cs
- DefaultValueAttribute.cs
- FontWeight.cs
- UrlPropertyAttribute.cs
- XmlText.cs
- QilTargetType.cs
- FullTextState.cs
- SimpleTypeResolver.cs
- CollectionViewGroupRoot.cs
- EntityContainerEntitySetDefiningQuery.cs
- BinaryConverter.cs
- ToolBarButtonClickEvent.cs
- XmlSchemaElement.cs
- XmlNodeChangedEventManager.cs
- Variable.cs
- DefaultExpressionVisitor.cs
- RangeContentEnumerator.cs
- DockProviderWrapper.cs
- FontCacheUtil.cs
- NativeMethodsOther.cs
- Errors.cs
- _LocalDataStoreMgr.cs
- COM2PropertyDescriptor.cs
- XmlSchemaAll.cs
- _DomainName.cs
- CacheVirtualItemsEvent.cs
- SimpleTypeResolver.cs
- WebPartDeleteVerb.cs
- Logging.cs
- CryptoApi.cs
- CompModSwitches.cs
- ProcessModelSection.cs
- PropertyTabAttribute.cs
- CollectionBuilder.cs
- Atom10FeedFormatter.cs
- CodeThrowExceptionStatement.cs
- ProgressBarRenderer.cs
- HttpClientCertificate.cs
- BezierSegment.cs
- SystemIPInterfaceProperties.cs
- KeyNotFoundException.cs
- DynamicRenderer.cs
- SessionStateModule.cs
- CodeGotoStatement.cs
- ConfigurationSchemaErrors.cs
- NotifyIcon.cs
- FormsAuthenticationModule.cs
- RouteValueExpressionBuilder.cs
- ServicePointManagerElement.cs
- TransactionContextValidator.cs
- ResolveNameEventArgs.cs
- OleDbTransaction.cs
- PageVisual.cs
- EmptyTextWriter.cs
- PresentationSource.cs
- LocationSectionRecord.cs
- ListBindableAttribute.cs
- Roles.cs
- SecurityVersion.cs
- ConstantCheck.cs
- SmtpMail.cs
- BamlLocalizableResource.cs
- XmlEntity.cs
- RightsManagementPermission.cs
- ReadContentAsBinaryHelper.cs
- ResourceIDHelper.cs
- InstallHelper.cs
- QilLoop.cs
- TextAnchor.cs
- controlskin.cs
- DataSourceCollectionBase.cs
- SerializerDescriptor.cs
- PassportPrincipal.cs
- MenuItemStyleCollectionEditor.cs
- HttpProcessUtility.cs
- Queue.cs