Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAnyElementAttribute.cs / 1305376 / 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.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AdRotator.cs
- ImageMetadata.cs
- AliasedSlot.cs
- OleDbParameterCollection.cs
- WindowsIPAddress.cs
- PointKeyFrameCollection.cs
- LookupBindingPropertiesAttribute.cs
- SchemaEntity.cs
- XomlCompilerError.cs
- wgx_exports.cs
- VisualStateManager.cs
- AssemblyBuilder.cs
- DynamicRouteExpression.cs
- IndexedEnumerable.cs
- _SSPIWrapper.cs
- WebPartConnectionsConnectVerb.cs
- XPathParser.cs
- QuotedPrintableStream.cs
- DecimalConstantAttribute.cs
- ImageDrawing.cs
- RectangleHotSpot.cs
- WebSysDefaultValueAttribute.cs
- SymbolType.cs
- HostProtectionPermission.cs
- MissingMemberException.cs
- KeyConstraint.cs
- ObjectList.cs
- WebPartRestoreVerb.cs
- EmptyWithCancelationCheckWorkItem.cs
- LiteralControl.cs
- ToolStripMenuItemDesigner.cs
- DisposableCollectionWrapper.cs
- ApplicationTrust.cs
- DeferredSelectedIndexReference.cs
- shaperfactoryquerycacheentry.cs
- ActivationService.cs
- MouseEvent.cs
- CompiledQueryCacheKey.cs
- ComplexBindingPropertiesAttribute.cs
- Utils.cs
- SspiSecurityTokenParameters.cs
- ScrollPatternIdentifiers.cs
- ServerReliableChannelBinder.cs
- DragEvent.cs
- EtwProvider.cs
- TableColumn.cs
- DefaultTextStore.cs
- FacetChecker.cs
- WebProxyScriptElement.cs
- SqlTriggerContext.cs
- HttpCapabilitiesSectionHandler.cs
- NetPeerTcpBinding.cs
- GraphicsContext.cs
- AssemblyCollection.cs
- SerializationFieldInfo.cs
- QuaternionAnimationUsingKeyFrames.cs
- ListViewInsertionMark.cs
- ToolStripDropDownItem.cs
- WebPartTransformerCollection.cs
- SqlDependency.cs
- RegexMatchCollection.cs
- AdvancedBindingEditor.cs
- PrivilegedConfigurationManager.cs
- DataSourceCollectionBase.cs
- SystemIPGlobalStatistics.cs
- CaseExpr.cs
- HwndHostAutomationPeer.cs
- InstanceDataCollection.cs
- TextDecorationCollectionConverter.cs
- Decimal.cs
- ResourceExpressionBuilder.cs
- EmissiveMaterial.cs
- LateBoundBitmapDecoder.cs
- OdbcPermission.cs
- BoolLiteral.cs
- NameScopePropertyAttribute.cs
- CompilerTypeWithParams.cs
- RelationshipEnd.cs
- HwndStylusInputProvider.cs
- GotoExpression.cs
- HtmlImageAdapter.cs
- ThemeInfoAttribute.cs
- NamespaceInfo.cs
- DataObjectAttribute.cs
- FixedTextBuilder.cs
- PublisherMembershipCondition.cs
- PathGeometry.cs
- HttpModuleCollection.cs
- DataGridColumn.cs
- LinkConverter.cs
- InputLanguage.cs
- SharedPersonalizationStateInfo.cs
- TextTrailingWordEllipsis.cs
- StrokeNodeEnumerator.cs
- DragStartedEventArgs.cs
- ExpressionBuilder.cs
- UrlMappingsModule.cs
- XmlTextReaderImpl.cs
- Transactions.cs
- SkewTransform.cs