Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- AliasGenerator.cs
- LoginName.cs
- CompositeTypefaceMetrics.cs
- StyleSelector.cs
- ModuleBuilderData.cs
- EditorZone.cs
- InternalConfigHost.cs
- WebPartVerbCollection.cs
- MediaCommands.cs
- Calendar.cs
- DataGridItem.cs
- StandardOleMarshalObject.cs
- RegexMatchCollection.cs
- SourceInterpreter.cs
- Util.cs
- AmbientLight.cs
- ErrorRuntimeConfig.cs
- AutomationIdentifier.cs
- SafeCryptoHandles.cs
- MouseBinding.cs
- PageAsyncTask.cs
- KnowledgeBase.cs
- ExpressionBinding.cs
- XmlDocumentType.cs
- UserMapPath.cs
- ValidationHelpers.cs
- HtmlDocument.cs
- ToolStripLocationCancelEventArgs.cs
- StringStorage.cs
- TypeNameHelper.cs
- TreeView.cs
- EventLogTraceListener.cs
- Operand.cs
- Span.cs
- DataBindEngine.cs
- FilteredXmlReader.cs
- ButtonBaseAutomationPeer.cs
- AuthenticationService.cs
- _PooledStream.cs
- DATA_BLOB.cs
- Span.cs
- ResourceProviderFactory.cs
- ISCIIEncoding.cs
- ResXResourceReader.cs
- CategoryAttribute.cs
- TypeContext.cs
- DataControlField.cs
- InkCanvas.cs
- RowToParametersTransformer.cs
- XmlImplementation.cs
- SimpleHandlerBuildProvider.cs
- ButtonChrome.cs
- SimpleWorkerRequest.cs
- X509ChainElement.cs
- CompilerGeneratedAttribute.cs
- PaperSize.cs
- CurrentChangedEventManager.cs
- DesignerMetadata.cs
- AliasExpr.cs
- MetadataItemEmitter.cs
- NavigationProgressEventArgs.cs
- Int32Converter.cs
- SystemDiagnosticsSection.cs
- XmlSchemaAll.cs
- SessionIDManager.cs
- MeshGeometry3D.cs
- GroupBoxRenderer.cs
- ValidatedMobileControlConverter.cs
- UriScheme.cs
- Inline.cs
- x509store.cs
- DataGridColumn.cs
- NavigationProperty.cs
- WebBrowserUriTypeConverter.cs
- LocalIdKeyIdentifierClause.cs
- ComplexType.cs
- CompareInfo.cs
- ByteAnimation.cs
- ParameterCollection.cs
- KoreanCalendar.cs
- ErasingStroke.cs
- BrowserDefinitionCollection.cs
- RequestNavigateEventArgs.cs
- AppSecurityManager.cs
- SchemaHelper.cs
- BuildProvidersCompiler.cs
- Publisher.cs
- ActivationServices.cs
- TableParaClient.cs
- NamespaceCollection.cs
- PageRouteHandler.cs
- ClientScriptManager.cs
- DbDataReader.cs
- ApplicationProxyInternal.cs
- RemotingServices.cs
- FieldTemplateFactory.cs
- SafeEventLogReadHandle.cs
- SwitchElementsCollection.cs
- XmlImplementation.cs
- SQLString.cs