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
- Hash.cs
- XmlCountingReader.cs
- RedirectionProxy.cs
- ToolboxControl.cs
- LinqDataSourceStatusEventArgs.cs
- ServiceConfigurationTraceRecord.cs
- GradientSpreadMethodValidation.cs
- InvalidPropValue.cs
- ExecutionEngineException.cs
- PagerSettings.cs
- SystemInformation.cs
- FormatSettings.cs
- SortQuery.cs
- SoapInteropTypes.cs
- Command.cs
- PerfProviderCollection.cs
- EditCommandColumn.cs
- DataViewManager.cs
- XmlSchemaCompilationSettings.cs
- ListViewGroupConverter.cs
- SessionEndingCancelEventArgs.cs
- Vector3DIndependentAnimationStorage.cs
- Equal.cs
- EmptyEnumerator.cs
- SystemEvents.cs
- RegexCapture.cs
- Models.cs
- ResourceReader.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- RegisterInfo.cs
- SoapAttributeAttribute.cs
- SHA384Managed.cs
- EmptyTextWriter.cs
- CompositionAdorner.cs
- SettingsProperty.cs
- PersonalizationState.cs
- WebPartCancelEventArgs.cs
- DbParameterCollectionHelper.cs
- Scanner.cs
- ConfigXmlComment.cs
- ColorContext.cs
- ConnectionPoint.cs
- EmptyElement.cs
- TextSelectionHighlightLayer.cs
- StatusStrip.cs
- CapabilitiesUse.cs
- StrokeFIndices.cs
- SecUtil.cs
- PartDesigner.cs
- MembershipPasswordException.cs
- ACL.cs
- SimpleMailWebEventProvider.cs
- GCHandleCookieTable.cs
- ThreadExceptionDialog.cs
- GridViewPageEventArgs.cs
- HttpRequestCacheValidator.cs
- TraceFilter.cs
- MailMessage.cs
- DbBuffer.cs
- XmlResolver.cs
- DbProviderFactories.cs
- EmbeddedMailObjectsCollection.cs
- AttributeProviderAttribute.cs
- WSTrust.cs
- PageEventArgs.cs
- Model3DGroup.cs
- Geometry3D.cs
- TableTextElementCollectionInternal.cs
- WebPartTransformerCollection.cs
- Matrix.cs
- DateTimeFormatInfo.cs
- Assert.cs
- DesignerAttributeInfo.cs
- BinaryMessageEncodingBindingElement.cs
- XmlSchemaObjectCollection.cs
- RayHitTestParameters.cs
- PropertyGrid.cs
- StylusPointPropertyInfoDefaults.cs
- RotateTransform.cs
- RSAOAEPKeyExchangeFormatter.cs
- PkcsUtils.cs
- ValidateNames.cs
- AvTraceFormat.cs
- ClassicBorderDecorator.cs
- TimestampInformation.cs
- PassportAuthenticationEventArgs.cs
- DataGridViewTextBoxCell.cs
- EncoderFallback.cs
- TextBox.cs
- CacheHelper.cs
- PkcsMisc.cs
- TextTabProperties.cs
- EdmTypeAttribute.cs
- Wizard.cs
- SetMemberBinder.cs
- XamlValidatingReader.cs
- FontConverter.cs
- StylusDownEventArgs.cs
- OleDbDataReader.cs
- FlagPanel.cs