Code:
/ DotNET / DotNET / 8.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
- SqlProcedureAttribute.cs
- FunctionParameter.cs
- Stacktrace.cs
- ComMethodElementCollection.cs
- ContextMenuStripGroupCollection.cs
- CompilerErrorCollection.cs
- PropertyPathWorker.cs
- Point4DValueSerializer.cs
- ContentAlignmentEditor.cs
- XmlSchemaAttribute.cs
- LocationUpdates.cs
- SessionEndedEventArgs.cs
- InitializationEventAttribute.cs
- ClosureBinding.cs
- ISO2022Encoding.cs
- ServiceChannel.cs
- TransformDescriptor.cs
- QueryOptionExpression.cs
- MonitoringDescriptionAttribute.cs
- ThreadPool.cs
- WindowsListViewItem.cs
- DataTableMapping.cs
- RuntimeConfig.cs
- DbConnectionInternal.cs
- VScrollBar.cs
- ObjRef.cs
- ListDictionaryInternal.cs
- EntityWithKeyStrategy.cs
- Content.cs
- PropertyOverridesDialog.cs
- OutputCacheProfile.cs
- QilTargetType.cs
- OrderByLifter.cs
- MenuItemCollection.cs
- TdsParserStateObject.cs
- FixedSOMGroup.cs
- MatrixIndependentAnimationStorage.cs
- Converter.cs
- DiscoveryRequestHandler.cs
- Assign.cs
- StrongNameMembershipCondition.cs
- OdbcEnvironment.cs
- XmlSchemaDocumentation.cs
- HtmlInputControl.cs
- FunctionCommandText.cs
- iisPickupDirectory.cs
- XsdBuildProvider.cs
- SubMenuStyle.cs
- WriteFileContext.cs
- StringHelper.cs
- SelectionProcessor.cs
- Rotation3D.cs
- BinaryMethodMessage.cs
- Interlocked.cs
- _HeaderInfoTable.cs
- CustomWebEventKey.cs
- TextBoxAutomationPeer.cs
- COM2Enum.cs
- SqlResolver.cs
- __ComObject.cs
- ConfigPathUtility.cs
- HtmlInputButton.cs
- RelAssertionDirectKeyIdentifierClause.cs
- AlternationConverter.cs
- CodeExporter.cs
- LinqExpressionNormalizer.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- DateTimeOffsetStorage.cs
- UpDownBaseDesigner.cs
- BCLDebug.cs
- QEncodedStream.cs
- SoapReflectionImporter.cs
- SqlClientWrapperSmiStreamChars.cs
- WCFServiceClientProxyGenerator.cs
- DefaultParameterValueAttribute.cs
- uribuilder.cs
- SiteIdentityPermission.cs
- loginstatus.cs
- WebDescriptionAttribute.cs
- ExpressionBindingsDialog.cs
- SrgsOneOf.cs
- BitConverter.cs
- MemberInfoSerializationHolder.cs
- ScriptReference.cs
- ReturnEventArgs.cs
- StorageMappingItemLoader.cs
- DateTimeUtil.cs
- _emptywebproxy.cs
- Span.cs
- LambdaCompiler.Statements.cs
- FileVersion.cs
- Internal.cs
- SemanticResolver.cs
- WebPartsPersonalizationAuthorization.cs
- EntityDataSourceChangingEventArgs.cs
- SafeEventLogReadHandle.cs
- securitycriticaldataformultiplegetandset.cs
- RequiredAttributeAttribute.cs
- ActiveDocumentEvent.cs
- listitem.cs