Code:
/ 4.0 / 4.0 / untmp / 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.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PeerOutputChannel.cs
- FlowSwitchLink.cs
- CollectionChangedEventManager.cs
- PhoneCallDesigner.cs
- JsonWriterDelegator.cs
- Matrix3DStack.cs
- XmlnsCache.cs
- WebScriptClientGenerator.cs
- ellipse.cs
- EventLogPermissionEntry.cs
- UIElement.cs
- DataStreams.cs
- LowerCaseStringConverter.cs
- FullTrustAssembliesSection.cs
- EntityDataSourceWrapperCollection.cs
- XmlSchemaAny.cs
- MiniAssembly.cs
- XmlWrappingWriter.cs
- SqlConnectionHelper.cs
- XPathDocumentNavigator.cs
- XmlElementList.cs
- BitmapEffectOutputConnector.cs
- UndoManager.cs
- HtmlGenericControl.cs
- ConditionalAttribute.cs
- GenericIdentity.cs
- SiteMembershipCondition.cs
- EdmToObjectNamespaceMap.cs
- ContextStack.cs
- GuidelineCollection.cs
- ObjectListCommand.cs
- DataServiceQueryException.cs
- WindowsTooltip.cs
- OwnerDrawPropertyBag.cs
- CodeDomComponentSerializationService.cs
- AtomMaterializerLog.cs
- ToolStripInSituService.cs
- DataServices.cs
- OpenTypeCommon.cs
- OleDbErrorCollection.cs
- InputScopeNameConverter.cs
- WorkflowValidationFailedException.cs
- AssemblyHelper.cs
- TextEditorTables.cs
- CompiledIdentityConstraint.cs
- CacheSection.cs
- Bold.cs
- WpfMemberInvoker.cs
- HtmlMeta.cs
- BitmapSource.cs
- Win32PrintDialog.cs
- TransformValueSerializer.cs
- WebProxyScriptElement.cs
- uribuilder.cs
- ManifestResourceInfo.cs
- DeviceOverridableAttribute.cs
- MsdtcWrapper.cs
- LifetimeManager.cs
- HostingEnvironmentException.cs
- FixedDocument.cs
- GeneralTransform3D.cs
- XmlSchemaSimpleContentRestriction.cs
- FlowLayout.cs
- SafeArrayRankMismatchException.cs
- PlainXmlWriter.cs
- DisplayInformation.cs
- XsltConvert.cs
- OracleCommandSet.cs
- TailCallAnalyzer.cs
- XmlAnyElementAttributes.cs
- BaseTransportHeaders.cs
- QilInvoke.cs
- DataGridHeaderBorder.cs
- OleDbError.cs
- TextWriterTraceListener.cs
- TriggerAction.cs
- TraceContext.cs
- ExceptionHelpers.cs
- MatrixAnimationUsingKeyFrames.cs
- CacheOutputQuery.cs
- AutomationPatternInfo.cs
- DataGridItemEventArgs.cs
- User.cs
- ResumeStoryboard.cs
- ButtonFieldBase.cs
- ScriptDescriptor.cs
- FormsAuthenticationEventArgs.cs
- ProcessHostMapPath.cs
- Typography.cs
- COM2ComponentEditor.cs
- EncoderParameters.cs
- OleDbError.cs
- TextureBrush.cs
- MenuRenderer.cs
- ToolBarTray.cs
- CommandLineParser.cs
- ButtonFieldBase.cs
- CodeAttributeArgumentCollection.cs
- AddInEnvironment.cs
- PixelFormats.cs