Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlArrayAttribute.cs / 1 / 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
- PropertyRef.cs
- DataGridHeaderBorder.cs
- CodeDelegateInvokeExpression.cs
- ScriptingJsonSerializationSection.cs
- ConditionedDesigner.cs
- ImpersonationContext.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ListBoxItemWrapperAutomationPeer.cs
- DefaultBindingPropertyAttribute.cs
- DashStyle.cs
- HistoryEventArgs.cs
- ZoomComboBox.cs
- XPathSingletonIterator.cs
- TdsParserSafeHandles.cs
- XmlWriterTraceListener.cs
- MouseGestureConverter.cs
- LocalValueEnumerator.cs
- HtmlTableCell.cs
- QilXmlWriter.cs
- HttpConfigurationSystem.cs
- StretchValidation.cs
- AssociationSet.cs
- HMAC.cs
- XmlSchemaParticle.cs
- UnlockCardRequest.cs
- CodeIndexerExpression.cs
- ScriptResourceAttribute.cs
- XmlSchemas.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ComponentChangedEvent.cs
- NameValueConfigurationElement.cs
- SubqueryRules.cs
- ColorBlend.cs
- RenderOptions.cs
- COM2IProvidePropertyBuilderHandler.cs
- PointValueSerializer.cs
- TimeoutValidationAttribute.cs
- CancellationHandler.cs
- VerificationException.cs
- IChannel.cs
- SQLRoleProvider.cs
- NotSupportedException.cs
- InternalBufferOverflowException.cs
- BrowserTree.cs
- TimeSpan.cs
- SaveFileDialog.cs
- DocumentPageViewAutomationPeer.cs
- HighlightOverlayGlyph.cs
- PersonalizablePropertyEntry.cs
- InfoCardRequestException.cs
- PropertyPushdownHelper.cs
- MenuItemAutomationPeer.cs
- RectAnimation.cs
- SubqueryRules.cs
- UriExt.cs
- UserNameSecurityTokenAuthenticator.cs
- OdbcStatementHandle.cs
- AssemblyCacheEntry.cs
- XmlSchemaNotation.cs
- FontWeights.cs
- CreateParams.cs
- ValidationErrorInfo.cs
- Unit.cs
- RedBlackList.cs
- SerialPort.cs
- EditorResources.cs
- WebBrowserProgressChangedEventHandler.cs
- Section.cs
- DataBinding.cs
- XPathSingletonIterator.cs
- objectquery_tresulttype.cs
- SmtpNegotiateAuthenticationModule.cs
- WebServiceBindingAttribute.cs
- BamlRecordWriter.cs
- MenuItemBinding.cs
- TreeNodeEventArgs.cs
- QueryOpeningEnumerator.cs
- DataGridViewRowsRemovedEventArgs.cs
- OrElse.cs
- TypedOperationInfo.cs
- SuppressMessageAttribute.cs
- PerspectiveCamera.cs
- MD5HashHelper.cs
- XmlSchemaGroup.cs
- FacetChecker.cs
- LineGeometry.cs
- ErrorFormatter.cs
- DesignerActionList.cs
- PrintController.cs
- X509Extension.cs
- AssemblyHash.cs
- DataBoundControlAdapter.cs
- unsafeIndexingFilterStream.cs
- CommandLibraryHelper.cs
- SmtpReplyReaderFactory.cs
- HealthMonitoringSectionHelper.cs
- MessageBox.cs
- TreeViewItem.cs
- DesignerView.xaml.cs
- ProjectionCamera.cs