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
- PropertyCollection.cs
- XhtmlConformanceSection.cs
- HandlerFactoryCache.cs
- CompositeScriptReference.cs
- HttpContext.cs
- ExternalFile.cs
- XamlStyleSerializer.cs
- CollaborationHelperFunctions.cs
- AspNetHostingPermission.cs
- XmlQueryStaticData.cs
- Merger.cs
- XmlNavigatorStack.cs
- SplayTreeNode.cs
- ParsedAttributeCollection.cs
- ObservableDictionary.cs
- SynchronizationScope.cs
- UnitControl.cs
- UpdateDelegates.Generated.cs
- Oid.cs
- QueryOperator.cs
- WindowsTreeView.cs
- EncoderBestFitFallback.cs
- MachineKeyValidationConverter.cs
- CompModSwitches.cs
- UDPClient.cs
- PowerEase.cs
- GridViewRowEventArgs.cs
- WebPartUtil.cs
- WebPartConnectionsDisconnectVerb.cs
- Error.cs
- CompositeCollectionView.cs
- ContractAdapter.cs
- XmlElementCollection.cs
- OLEDB_Enum.cs
- NumberFormatInfo.cs
- ExpressionBuilderCollection.cs
- ContentElement.cs
- Encoder.cs
- InputBindingCollection.cs
- TraceSource.cs
- ConfigurationLocation.cs
- WebPartCancelEventArgs.cs
- TextElementEditingBehaviorAttribute.cs
- IISMapPath.cs
- PropertyStore.cs
- RulePatternOps.cs
- HMACSHA512.cs
- BuildDependencySet.cs
- ProcessActivityTreeOptions.cs
- DesignerSerializationVisibilityAttribute.cs
- SecurityState.cs
- TextModifierScope.cs
- GeometryModel3D.cs
- ProxyGenerator.cs
- ArcSegment.cs
- PublishLicense.cs
- ping.cs
- KeyConstraint.cs
- BooleanExpr.cs
- MetadataArtifactLoaderComposite.cs
- User.cs
- BamlLocalizableResourceKey.cs
- CheckableControlBaseAdapter.cs
- CombinedHttpChannel.cs
- DBConnection.cs
- DataTableMapping.cs
- ControlParameter.cs
- EventLogPermissionEntry.cs
- Rijndael.cs
- ResourceDictionary.cs
- ZipIOExtraFieldPaddingElement.cs
- TargetConverter.cs
- Sentence.cs
- IProvider.cs
- UpDownBase.cs
- PeerNameResolver.cs
- Hashtable.cs
- hresults.cs
- AxHost.cs
- HasRunnableWorkflowEvent.cs
- BitmapFrameDecode.cs
- XpsFilter.cs
- HtmlInputHidden.cs
- BamlCollectionHolder.cs
- Icon.cs
- PolygonHotSpot.cs
- PlaceHolder.cs
- SamlSerializer.cs
- XmlAttribute.cs
- SqlErrorCollection.cs
- DbSetClause.cs
- XPathMessageFilterElementComparer.cs
- TreeNodeBindingCollection.cs
- GradientStop.cs
- ColumnHeaderConverter.cs
- PrinterResolution.cs
- VBIdentifierName.cs
- CompilationUtil.cs
- ListenerAdaptersInstallComponent.cs
- EdmSchemaError.cs