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
- mda.cs
- StateMachine.cs
- ObjectQuery_EntitySqlExtensions.cs
- GeneralTransform3D.cs
- SystemWebSectionGroup.cs
- WebServiceEnumData.cs
- JournalEntry.cs
- PolicyManager.cs
- SortDescriptionCollection.cs
- Keywords.cs
- Help.cs
- WindowProviderWrapper.cs
- sqlpipe.cs
- CollectionViewGroupInternal.cs
- Unit.cs
- ActiveXHelper.cs
- SqlRowUpdatingEvent.cs
- OdbcConnectionHandle.cs
- ServiceRouteHandler.cs
- ErrorStyle.cs
- DataServiceExpressionVisitor.cs
- PasswordPropertyTextAttribute.cs
- XmlNodeChangedEventManager.cs
- BaseProcessProtocolHandler.cs
- XamlReaderConstants.cs
- EventSetter.cs
- XPathNodeHelper.cs
- EnumerableRowCollectionExtensions.cs
- TabControlAutomationPeer.cs
- ListViewGroupCollectionEditor.cs
- TypedTableBaseExtensions.cs
- AdCreatedEventArgs.cs
- XmlSchemaSimpleContentExtension.cs
- TextAutomationPeer.cs
- GraphicsState.cs
- XmlSchemaGroupRef.cs
- ChangeInterceptorAttribute.cs
- MenuItemCollectionEditorDialog.cs
- FixedDocumentSequencePaginator.cs
- CacheDependency.cs
- FormViewUpdatedEventArgs.cs
- NavigationHelper.cs
- Span.cs
- StaticResourceExtension.cs
- EmptyEnumerator.cs
- Crc32Helper.cs
- MenuCommand.cs
- CircleHotSpot.cs
- ProtocolsConfigurationHandler.cs
- XLinq.cs
- FileVersion.cs
- ComPlusDiagnosticTraceRecords.cs
- ScalarConstant.cs
- ProfileSettings.cs
- FormViewInsertEventArgs.cs
- HandlerFactoryCache.cs
- DataGridItemEventArgs.cs
- SafeArrayRankMismatchException.cs
- TextStore.cs
- XmlNode.cs
- FillErrorEventArgs.cs
- HostUtils.cs
- OleAutBinder.cs
- RotationValidation.cs
- GridItemCollection.cs
- DoubleIndependentAnimationStorage.cs
- _LoggingObject.cs
- DispatcherExceptionFilterEventArgs.cs
- ArgIterator.cs
- InputLanguage.cs
- DoubleMinMaxAggregationOperator.cs
- Timer.cs
- LogArchiveSnapshot.cs
- WindowsTokenRoleProvider.cs
- SystemInfo.cs
- CustomAttribute.cs
- XmlReader.cs
- BitStack.cs
- DataGridViewComboBoxColumn.cs
- GeneralTransform3DGroup.cs
- DataGridViewRowsRemovedEventArgs.cs
- Marshal.cs
- FrameworkTextComposition.cs
- DataGridViewComboBoxCell.cs
- ReaderWriterLockSlim.cs
- ListControl.cs
- ExpressionParser.cs
- GridViewSelectEventArgs.cs
- HttpHandlersInstallComponent.cs
- TypeReference.cs
- HttpListener.cs
- DefaultBindingPropertyAttribute.cs
- ComponentConverter.cs
- JpegBitmapEncoder.cs
- Compress.cs
- ToolStripDropTargetManager.cs
- BitmapSource.cs
- UnicastIPAddressInformationCollection.cs
- FillErrorEventArgs.cs
- ConfigXmlCDataSection.cs