Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlDocumentType.cs
- DBSqlParserColumnCollection.cs
- WebPartHeaderCloseVerb.cs
- PhysicalAddress.cs
- BinaryExpression.cs
- CryptoKeySecurity.cs
- IisTraceListener.cs
- EntityDataSourceState.cs
- EncryptedReference.cs
- SplineKeyFrames.cs
- SegmentInfo.cs
- FixedNode.cs
- ReliableChannelBinder.cs
- XpsThumbnail.cs
- ButtonBase.cs
- BitmapEffectInput.cs
- EntityDataSourceConfigureObjectContext.cs
- ImageCreator.cs
- FrugalMap.cs
- SplitterEvent.cs
- SqlDelegatedTransaction.cs
- WebEventTraceProvider.cs
- MenuRenderer.cs
- EncodingDataItem.cs
- JsonEnumDataContract.cs
- CmsInterop.cs
- FlowchartDesignerCommands.cs
- BaseTemplatedMobileComponentEditor.cs
- KoreanLunisolarCalendar.cs
- ObjectSet.cs
- CorrelationTokenTypeConvertor.cs
- SafeNativeMethods.cs
- VectorAnimationUsingKeyFrames.cs
- ScriptModule.cs
- iisPickupDirectory.cs
- IPEndPoint.cs
- SchemaAttDef.cs
- lengthconverter.cs
- Cursors.cs
- RulePatternOps.cs
- ProfileProvider.cs
- SelectionEditor.cs
- GeneralTransformCollection.cs
- ProvidePropertyAttribute.cs
- RecognizerInfo.cs
- XPathPatternBuilder.cs
- StringFunctions.cs
- CLRBindingWorker.cs
- WindowsFormsLinkLabel.cs
- IList.cs
- FlowSwitchDesigner.xaml.cs
- MissingFieldException.cs
- TableLayoutRowStyleCollection.cs
- DoubleCollectionValueSerializer.cs
- DeferredSelectedIndexReference.cs
- EventEntry.cs
- AutomationAttributeInfo.cs
- Vars.cs
- GraphicsContext.cs
- InstanceBehavior.cs
- LayoutEvent.cs
- GlobalAllocSafeHandle.cs
- KeyValueConfigurationElement.cs
- ColumnHeaderCollectionEditor.cs
- QualifiedCellIdBoolean.cs
- ScriptControlManager.cs
- WpfGeneratedKnownProperties.cs
- EntityDataReader.cs
- ResourceDisplayNameAttribute.cs
- HttpHandler.cs
- ClickablePoint.cs
- FlowNode.cs
- ReflectionPermission.cs
- Pair.cs
- RegexWorker.cs
- ToolBarButtonClickEvent.cs
- SimpleWorkerRequest.cs
- FixedMaxHeap.cs
- XmlSchemaSimpleTypeList.cs
- TimeoutTimer.cs
- XamlTypeMapperSchemaContext.cs
- InternalResources.cs
- HttpWebResponse.cs
- UserControlBuildProvider.cs
- FirstMatchCodeGroup.cs
- WindowsScroll.cs
- controlskin.cs
- PointLightBase.cs
- UnsafeNativeMethods.cs
- PointHitTestParameters.cs
- Polygon.cs
- HttpBrowserCapabilitiesWrapper.cs
- QilStrConcatenator.cs
- IconConverter.cs
- Vector3DCollectionConverter.cs
- CompilerInfo.cs
- smtpconnection.cs
- RenamedEventArgs.cs
- Query.cs
- CustomWebEventKey.cs