Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / Serialization / XmlArrayItemAttribute.cs / 1 / XmlArrayItemAttribute.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=true)] public class XmlArrayItemAttribute : System.Attribute { string elementName; Type type; string ns; string dataType; bool nullable; bool nullableSpecified = false; XmlSchemaForm form = XmlSchemaForm.None; int nestingLevel; ///[To be supplied.] ////// /// public XmlArrayItemAttribute() { } ///[To be supplied.] ////// /// public XmlArrayItemAttribute(string elementName) { this.elementName = elementName; } ///[To be supplied.] ////// /// public XmlArrayItemAttribute(Type type) { this.type = type; } ///[To be supplied.] ////// /// public XmlArrayItemAttribute(string elementName, Type type) { this.elementName = elementName; this.type = type; } ///[To be supplied.] ////// /// public Type Type { get { return type; } set { type = value; } } ///[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 int NestingLevel { get { return nestingLevel; } set { nestingLevel = value; } } /// /// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public bool IsNullable { get { return nullable; } set { nullable = value; nullableSpecified = true; } } internal bool IsNullableSpecified { get { return nullableSpecified; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = 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=true)] public class XmlArrayItemAttribute : System.Attribute { string elementName; Type type; string ns; string dataType; bool nullable; bool nullableSpecified = false; XmlSchemaForm form = XmlSchemaForm.None; int nestingLevel; ///[To be supplied.] ////// /// public XmlArrayItemAttribute() { } ///[To be supplied.] ////// /// public XmlArrayItemAttribute(string elementName) { this.elementName = elementName; } ///[To be supplied.] ////// /// public XmlArrayItemAttribute(Type type) { this.type = type; } ///[To be supplied.] ////// /// public XmlArrayItemAttribute(string elementName, Type type) { this.elementName = elementName; this.type = type; } ///[To be supplied.] ////// /// public Type Type { get { return type; } set { type = value; } } ///[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 int NestingLevel { get { return nestingLevel; } set { nestingLevel = value; } } /// /// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public bool IsNullable { get { return nullable; } set { nullable = value; nullableSpecified = true; } } internal bool IsNullableSpecified { get { return nullableSpecified; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = 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
- AssemblyCache.cs
- _SSPIWrapper.cs
- SQLChars.cs
- SqlInternalConnectionTds.cs
- StringKeyFrameCollection.cs
- Point3D.cs
- NavigationWindowAutomationPeer.cs
- ListBoxItemWrapperAutomationPeer.cs
- OleDragDropHandler.cs
- LoadRetryStrategyFactory.cs
- ConfigurationManagerInternalFactory.cs
- GeometryGroup.cs
- InteropTrackingRecord.cs
- CursorEditor.cs
- OnOperation.cs
- XMLUtil.cs
- UpdateManifestForBrowserApplication.cs
- InvalidPipelineStoreException.cs
- LocalIdKeyIdentifierClause.cs
- SqlDuplicator.cs
- Inflater.cs
- XmlSchemaSimpleTypeUnion.cs
- ReadOnlyAttribute.cs
- CatalogZone.cs
- ContainerUIElement3D.cs
- DescendentsWalker.cs
- COSERVERINFO.cs
- DeviceContext.cs
- ResXBuildProvider.cs
- peernodeimplementation.cs
- TextBounds.cs
- UpWmlPageAdapter.cs
- ProviderConnectionPoint.cs
- HttpCapabilitiesSectionHandler.cs
- RegistrySecurity.cs
- SystemFonts.cs
- InfoCardTraceRecord.cs
- FieldInfo.cs
- BitmapEffect.cs
- ZoneLinkButton.cs
- recordstatescratchpad.cs
- Propagator.cs
- HttpFileCollection.cs
- OdbcTransaction.cs
- PixelFormats.cs
- MimeFormReflector.cs
- FigureHelper.cs
- DescendentsWalkerBase.cs
- FileLogRecord.cs
- ExceptionValidationRule.cs
- IdnElement.cs
- PrintPreviewDialog.cs
- AuthorizationBehavior.cs
- ClientScriptItemCollection.cs
- EventProviderWriter.cs
- SchemaTableOptionalColumn.cs
- X509CertificateValidator.cs
- DetailsViewUpdatedEventArgs.cs
- PrintPreviewDialog.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- CreateUserErrorEventArgs.cs
- Range.cs
- MissingManifestResourceException.cs
- NameValuePair.cs
- UniformGrid.cs
- LightweightCodeGenerator.cs
- MenuAdapter.cs
- ContractNamespaceAttribute.cs
- WebPartConnectionsConfigureVerb.cs
- ListBindingHelper.cs
- CacheMode.cs
- MessageEnumerator.cs
- ConfigXmlWhitespace.cs
- RSAOAEPKeyExchangeFormatter.cs
- Html32TextWriter.cs
- RadioButton.cs
- FormsIdentity.cs
- Viewport3DAutomationPeer.cs
- SecurityUtils.cs
- RC2CryptoServiceProvider.cs
- WebPartRestoreVerb.cs
- remotingproxy.cs
- HostedElements.cs
- DialogResultConverter.cs
- DataGridViewRowsAddedEventArgs.cs
- WmpBitmapDecoder.cs
- DbProviderFactoriesConfigurationHandler.cs
- PolicyUnit.cs
- Query.cs
- FontFamily.cs
- ConnectionsZone.cs
- KeyValueConfigurationCollection.cs
- MasterPage.cs
- DataGridColumnHeadersPresenter.cs
- SourceItem.cs
- xdrvalidator.cs
- PreviewPageInfo.cs
- ClientEndpointLoader.cs
- RightNameExpirationInfoPair.cs
- DataControlButton.cs