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
- DateTimeConstantAttribute.cs
- path.cs
- PolyLineSegment.cs
- HttpException.cs
- RightsManagementEncryptionTransform.cs
- GenericTextProperties.cs
- WebPartUserCapability.cs
- SafeRegistryHandle.cs
- InputQueueChannelAcceptor.cs
- SpecialNameAttribute.cs
- MailWebEventProvider.cs
- CompilerCollection.cs
- ConstructorArgumentAttribute.cs
- DesignerObject.cs
- StorageEntitySetMapping.cs
- TdsParserHelperClasses.cs
- Transform.cs
- Visitor.cs
- PrinterResolution.cs
- UserMapPath.cs
- CodeArrayCreateExpression.cs
- InvariantComparer.cs
- LocatorBase.cs
- MetadataItemCollectionFactory.cs
- EncryptedReference.cs
- Listbox.cs
- HeaderedItemsControl.cs
- UnsafeNativeMethods.cs
- DrawListViewItemEventArgs.cs
- ADMembershipProvider.cs
- ErrorsHelper.cs
- StrongNameMembershipCondition.cs
- PrintControllerWithStatusDialog.cs
- DataGridTable.cs
- StringKeyFrameCollection.cs
- Quad.cs
- DesignerProperties.cs
- EntityClientCacheEntry.cs
- PrintDialog.cs
- Matrix3D.cs
- Update.cs
- TokenBasedSetEnumerator.cs
- PrintDialog.cs
- SecurityState.cs
- ViewStateModeByIdAttribute.cs
- StyleSelector.cs
- ListViewTableRow.cs
- RemotingConfigParser.cs
- SoapFormatterSinks.cs
- DocumentViewerBaseAutomationPeer.cs
- DocumentPaginator.cs
- TransformDescriptor.cs
- StrongNameKeyPair.cs
- HtmlObjectListAdapter.cs
- PointAnimationUsingKeyFrames.cs
- ListSortDescription.cs
- EdmToObjectNamespaceMap.cs
- DbConnectionInternal.cs
- MenuItemBindingCollection.cs
- CompositeFontParser.cs
- AutomationPatternInfo.cs
- XmlTextEncoder.cs
- ZipQueryOperator.cs
- MatchAllMessageFilter.cs
- DefaultBinder.cs
- FontDialog.cs
- CatalogZone.cs
- OAVariantLib.cs
- PrinterResolution.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- FrameworkPropertyMetadata.cs
- ReferenceConverter.cs
- XamlReader.cs
- ConfigPathUtility.cs
- KernelTypeValidation.cs
- InvalidOperationException.cs
- TextParaLineResult.cs
- UnauthorizedAccessException.cs
- datacache.cs
- XMLSyntaxException.cs
- GlyphRunDrawing.cs
- FacetValueContainer.cs
- RotateTransform3D.cs
- ActivationServices.cs
- MappingSource.cs
- DownloadProgressEventArgs.cs
- PageCatalogPart.cs
- activationcontext.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- TabPage.cs
- OutputChannel.cs
- DataColumn.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- Task.cs
- StreamUpgradeAcceptor.cs
- StylusSystemGestureEventArgs.cs
- SignatureResourceHelper.cs
- FontCacheUtil.cs
- AutoCompleteStringCollection.cs
- SkinBuilder.cs