Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // 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
- StatusStrip.cs
- MatchingStyle.cs
- baseaxisquery.cs
- TrackingValidationObjectDictionary.cs
- QueueProcessor.cs
- MarkupWriter.cs
- Rotation3D.cs
- ValidationPropertyAttribute.cs
- WindowsEditBox.cs
- ArrangedElementCollection.cs
- GeometryGroup.cs
- SqlCommandSet.cs
- TdsParserStaticMethods.cs
- ClrPerspective.cs
- ExpressionCopier.cs
- SqlBulkCopyColumnMappingCollection.cs
- ITreeGenerator.cs
- VsPropertyGrid.cs
- WebServiceData.cs
- BooleanFacetDescriptionElement.cs
- CodeTypeParameterCollection.cs
- XmlSchemaAppInfo.cs
- LambdaCompiler.Binary.cs
- ModifiableIteratorCollection.cs
- ListView.cs
- Visual3D.cs
- SqlProcedureAttribute.cs
- WindowsRebar.cs
- MonitorWrapper.cs
- Canvas.cs
- DataExpression.cs
- XPathNavigatorKeyComparer.cs
- AsyncDataRequest.cs
- RowsCopiedEventArgs.cs
- RemotingServices.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Imaging.cs
- StringUtil.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- CookieParameter.cs
- WebPart.cs
- Invariant.cs
- EventLogQuery.cs
- FileChangesMonitor.cs
- IBuiltInEvidence.cs
- AppSettingsReader.cs
- MachineKeyValidationConverter.cs
- COM2Properties.cs
- DataFormats.cs
- LinearQuaternionKeyFrame.cs
- SetterBase.cs
- Column.cs
- WebContext.cs
- SimpleApplicationHost.cs
- MsmqInputMessagePool.cs
- ConfigXmlWhitespace.cs
- Buffer.cs
- UnsafeNativeMethods.cs
- Rect.cs
- InterleavedZipPartStream.cs
- XmlElementCollection.cs
- SpellCheck.cs
- PartialCachingAttribute.cs
- Polygon.cs
- TimeoutStream.cs
- ExpressionTextBox.xaml.cs
- DesignerLoader.cs
- TextElementEnumerator.cs
- RoutedCommand.cs
- DoubleAnimationBase.cs
- HttpServerChannel.cs
- FixUp.cs
- X500Name.cs
- MediaCommands.cs
- WorkflowViewElement.cs
- FontSizeConverter.cs
- CompoundFileIOPermission.cs
- sqlcontext.cs
- webeventbuffer.cs
- PermissionAttributes.cs
- TypedReference.cs
- ProfileManager.cs
- IIS7ConfigurationLoader.cs
- SmiMetaData.cs
- HtmlForm.cs
- ImageField.cs
- WebControlsSection.cs
- TextRangeEditTables.cs
- PolicyLevel.cs
- HandlerFactoryCache.cs
- CharAnimationUsingKeyFrames.cs
- PropertyItemInternal.cs
- XmlWhitespace.cs
- InvalidComObjectException.cs
- ItemsPresenter.cs
- HttpRequestWrapper.cs
- EventSinkActivityDesigner.cs
- GenericIdentity.cs
- DataGridViewCellCollection.cs
- GridItemCollection.cs