Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlArrayAttribute.cs / 1305376 / XmlArrayAttribute.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=false)] public class XmlArrayAttribute : System.Attribute { string elementName; string ns; bool nullable; XmlSchemaForm form = XmlSchemaForm.None; int order = -1; ///[To be supplied.] ////// /// public XmlArrayAttribute() { } ///[To be supplied.] ////// /// public XmlArrayAttribute(string elementName) { this.elementName = elementName; } ///[To be supplied.] ////// /// public string ElementName { get { return elementName == null ? string.Empty : elementName; } set { elementName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public bool IsNullable { get { return nullable; } set { nullable = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = value; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = value; } } } } // 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=false)] public class XmlArrayAttribute : System.Attribute { string elementName; string ns; bool nullable; XmlSchemaForm form = XmlSchemaForm.None; int order = -1; ///[To be supplied.] ////// /// public XmlArrayAttribute() { } ///[To be supplied.] ////// /// public XmlArrayAttribute(string elementName) { this.elementName = elementName; } ///[To be supplied.] ////// /// public string ElementName { get { return elementName == null ? string.Empty : elementName; } set { elementName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public bool IsNullable { get { return nullable; } set { nullable = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = value; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = value; } } } } // 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
- ChildDocumentBlock.cs
- DeobfuscatingStream.cs
- ProviderSettings.cs
- FrameworkContentElement.cs
- TopClause.cs
- XmlWriter.cs
- GenericAuthenticationEventArgs.cs
- QuaternionConverter.cs
- TextEffectResolver.cs
- DelegateSerializationHolder.cs
- RadioButtonBaseAdapter.cs
- FieldMetadata.cs
- ThreadStaticAttribute.cs
- DesignerLoader.cs
- CacheVirtualItemsEvent.cs
- SqlBinder.cs
- BackgroundWorker.cs
- Opcode.cs
- InputBinder.cs
- Light.cs
- BackEase.cs
- DataServiceHostWrapper.cs
- indexingfiltermarshaler.cs
- BigIntegerStorage.cs
- EntityDesignerDataSourceView.cs
- HexParser.cs
- InternalRelationshipCollection.cs
- SqlDataSourceSummaryPanel.cs
- AuthenticationModuleElement.cs
- PageWrapper.cs
- DbTypeMap.cs
- ClientSettingsSection.cs
- CodeIterationStatement.cs
- SecurityElement.cs
- ToolboxDataAttribute.cs
- IImplicitResourceProvider.cs
- TemplateInstanceAttribute.cs
- GregorianCalendarHelper.cs
- PointLight.cs
- XmlIterators.cs
- WindowCollection.cs
- ReaderWriterLock.cs
- HashRepartitionStream.cs
- RuleInfoComparer.cs
- RemoteCryptoSignHashRequest.cs
- TextRange.cs
- DataMisalignedException.cs
- CodeStatementCollection.cs
- UnaryNode.cs
- Compiler.cs
- XmlSchemaCollection.cs
- Object.cs
- RadioButtonPopupAdapter.cs
- CorrelationQuery.cs
- ProxyFragment.cs
- shaperfactory.cs
- Emitter.cs
- DashStyle.cs
- JsonReader.cs
- ConfigurationElementProperty.cs
- Number.cs
- LocalizableResourceBuilder.cs
- Random.cs
- ToolStripItemImageRenderEventArgs.cs
- ProcessThread.cs
- FormViewInsertedEventArgs.cs
- LinqDataSourceView.cs
- BrowserCapabilitiesCompiler.cs
- OdbcConnectionString.cs
- InheritanceAttribute.cs
- RepeaterItem.cs
- RichTextBoxAutomationPeer.cs
- PackWebRequestFactory.cs
- ProtocolReflector.cs
- CodePageUtils.cs
- OracleCommandBuilder.cs
- MessageHeaderDescriptionCollection.cs
- XmlSchemaFacet.cs
- KeyValueConfigurationCollection.cs
- WeakRefEnumerator.cs
- SelectionItemProviderWrapper.cs
- XmlCollation.cs
- ScriptReference.cs
- WorkflowTimerService.cs
- EventLog.cs
- RegexBoyerMoore.cs
- VisualStates.cs
- XPathParser.cs
- DBNull.cs
- DbConnectionPoolGroup.cs
- UserMapPath.cs
- DeploymentSectionCache.cs
- StyleCollection.cs
- OdbcErrorCollection.cs
- HtmlTableRowCollection.cs
- RichTextBox.cs
- KeyValueConfigurationCollection.cs
- Size3DConverter.cs
- WorkflowHostingEndpoint.cs
- ComboBoxAutomationPeer.cs