Code:
/ FX-1434 / FX-1434 / 1.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
- UnknownBitmapDecoder.cs
- SecurityProtocolFactory.cs
- HttpWebRequestElement.cs
- LineGeometry.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- DynamicILGenerator.cs
- ObjectDataSourceView.cs
- TreePrinter.cs
- Profiler.cs
- RuntimeCompatibilityAttribute.cs
- MissingMemberException.cs
- DataGridPageChangedEventArgs.cs
- StrokeNodeData.cs
- BindableAttribute.cs
- XamlStyleSerializer.cs
- GetRecipientRequest.cs
- InputLangChangeEvent.cs
- LicenseManager.cs
- HtmlInputButton.cs
- TextEffectResolver.cs
- MobileControlDesigner.cs
- ColorConverter.cs
- DesignerContextDescriptor.cs
- SaveFileDialogDesigner.cs
- NavigationEventArgs.cs
- CorrelationTokenInvalidatedHandler.cs
- SamlAuthorizationDecisionClaimResource.cs
- InternalControlCollection.cs
- TailCallAnalyzer.cs
- SafeSecurityHelper.cs
- MemberProjectionIndex.cs
- ParsedRoute.cs
- ConfigurationFileMap.cs
- AppDomainShutdownMonitor.cs
- ImageInfo.cs
- LostFocusEventManager.cs
- BoundingRectTracker.cs
- EntitySetDataBindingList.cs
- ScriptResourceAttribute.cs
- ValuePattern.cs
- Debug.cs
- validationstate.cs
- SqlUtil.cs
- Exception.cs
- CopyNamespacesAction.cs
- TextEffect.cs
- SpnEndpointIdentity.cs
- MemberProjectionIndex.cs
- querybuilder.cs
- SegmentInfo.cs
- DiagnosticsElement.cs
- Evidence.cs
- StorageRoot.cs
- HyperLinkField.cs
- GraphicsContainer.cs
- Rotation3DAnimation.cs
- CompilerGeneratedAttribute.cs
- SystemNetworkInterface.cs
- WebEventTraceProvider.cs
- DynamicDataRouteHandler.cs
- RoutedUICommand.cs
- X509RawDataKeyIdentifierClause.cs
- WindowsTooltip.cs
- CachedFontFamily.cs
- ActiveXHelper.cs
- QuestionEventArgs.cs
- DataServiceExpressionVisitor.cs
- DriveInfo.cs
- SizeFConverter.cs
- DataServiceRequestException.cs
- XmlTextReaderImpl.cs
- WebPartConnectionsCancelVerb.cs
- QilName.cs
- EventHandlersStore.cs
- DependencyObject.cs
- VScrollBar.cs
- WpfWebRequestHelper.cs
- NamedPipeActivation.cs
- WindowsListViewItemStartMenu.cs
- SiteMapNodeCollection.cs
- AuthorizationPolicyTypeElementCollection.cs
- UInt16.cs
- _TLSstream.cs
- EventSetter.cs
- ReferentialConstraint.cs
- UITypeEditor.cs
- CanExecuteRoutedEventArgs.cs
- securitycriticaldataClass.cs
- XsltQilFactory.cs
- UnsafeNativeMethodsPenimc.cs
- NameValueCollection.cs
- Brush.cs
- DeviceContext2.cs
- TaskFactory.cs
- MasterPage.cs
- HybridDictionary.cs
- SpeechSynthesizer.cs
- RelationshipManager.cs
- CqlParserHelpers.cs
- XmlConverter.cs