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
- GridViewColumnCollection.cs
- MissingSatelliteAssemblyException.cs
- ConfigXmlText.cs
- FormsAuthenticationUserCollection.cs
- VisualProxy.cs
- TerminatorSinks.cs
- sortedlist.cs
- DataServiceException.cs
- FilteredDataSetHelper.cs
- EventSinkHelperWriter.cs
- ListenerElementsCollection.cs
- ContextMenu.cs
- DataKeyArray.cs
- SynchronizationContext.cs
- OnOperation.cs
- XmlObjectSerializerReadContextComplexJson.cs
- LinearKeyFrames.cs
- GridPatternIdentifiers.cs
- HtmlEmptyTagControlBuilder.cs
- KoreanLunisolarCalendar.cs
- MsmqInputMessage.cs
- HtmlTextArea.cs
- TextPointer.cs
- FlowDocumentPaginator.cs
- DataSourceGeneratorException.cs
- FunctionUpdateCommand.cs
- PopupRoot.cs
- HyperLinkDataBindingHandler.cs
- SchemaDeclBase.cs
- TagPrefixCollection.cs
- ErrorFormatter.cs
- InvalidProgramException.cs
- WorkflowExecutor.cs
- RegistrySecurity.cs
- XmlSchemaType.cs
- DesignerVerbCollection.cs
- VersionedStream.cs
- ObjectTypeMapping.cs
- WebPartAuthorizationEventArgs.cs
- DrawingImage.cs
- ClientApiGenerator.cs
- TemplateParser.cs
- CompiledQueryCacheEntry.cs
- CodeGeneratorOptions.cs
- StateItem.cs
- LocalFileSettingsProvider.cs
- DataGridAddNewRow.cs
- TableCell.cs
- ExpandCollapseIsCheckedConverter.cs
- TemplatedAdorner.cs
- ContentHostHelper.cs
- EventMap.cs
- ProcessHostConfigUtils.cs
- PerformanceCounterTraceRecord.cs
- DataBindingHandlerAttribute.cs
- Separator.cs
- UrlUtility.cs
- XmlPreloadedResolver.cs
- ToolConsole.cs
- XmlTextEncoder.cs
- FirstMatchCodeGroup.cs
- StylusTip.cs
- TextBreakpoint.cs
- StandardToolWindows.cs
- Geometry3D.cs
- LineServicesRun.cs
- EarlyBoundInfo.cs
- ZoneMembershipCondition.cs
- QueryHandler.cs
- ToolStripOverflowButton.cs
- DeviceFilterEditorDialog.cs
- AtomServiceDocumentSerializer.cs
- HtmlWindow.cs
- DataTableMappingCollection.cs
- SecondaryViewProvider.cs
- HostProtectionException.cs
- StreamGeometryContext.cs
- EventSourceCreationData.cs
- HttpFileCollection.cs
- WebControlsSection.cs
- SafeMILHandle.cs
- TimerExtension.cs
- SubMenuStyleCollection.cs
- IListConverters.cs
- UiaCoreApi.cs
- XslAst.cs
- UnsafeNetInfoNativeMethods.cs
- TrackingProfileManager.cs
- XhtmlMobileTextWriter.cs
- DataPagerField.cs
- UnmanagedMemoryStreamWrapper.cs
- IgnoreSection.cs
- TripleDES.cs
- MSG.cs
- NonParentingControl.cs
- ExportOptions.cs
- DataRelation.cs
- DataControlFieldCell.cs
- CanExpandCollapseAllConverter.cs
- ClientTarget.cs