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
- DependencyObjectType.cs
- SqlRemoveConstantOrderBy.cs
- PropertyGeneratedEventArgs.cs
- ProfileGroupSettingsCollection.cs
- RemoteWebConfigurationHostServer.cs
- SatelliteContractVersionAttribute.cs
- X500Name.cs
- Random.cs
- DesignTimeTemplateParser.cs
- SchemaMapping.cs
- ItemsPanelTemplate.cs
- ComponentFactoryHelpers.cs
- _KerberosClient.cs
- ConfigurationSectionGroupCollection.cs
- Ref.cs
- ConfigXmlAttribute.cs
- ComponentSerializationService.cs
- DataGridViewCellEventArgs.cs
- MLangCodePageEncoding.cs
- SourceElementsCollection.cs
- FieldDescriptor.cs
- XmlReflectionImporter.cs
- PropertyEmitter.cs
- JoinQueryOperator.cs
- OutKeywords.cs
- ServiceReference.cs
- PenCursorManager.cs
- Pts.cs
- Style.cs
- Exceptions.cs
- ToolStripRendererSwitcher.cs
- EarlyBoundInfo.cs
- WebPartRestoreVerb.cs
- ObjectQuery.cs
- CounterCreationDataCollection.cs
- EntityClassGenerator.cs
- CallId.cs
- CompilationUtil.cs
- BidOverLoads.cs
- MenuScrollingVisibilityConverter.cs
- CapabilitiesPattern.cs
- LockCookie.cs
- CachingHintValidation.cs
- PersianCalendar.cs
- RequiredAttributeAttribute.cs
- ImageSource.cs
- ElementUtil.cs
- TimeEnumHelper.cs
- shaper.cs
- UnhandledExceptionEventArgs.cs
- TraceHandler.cs
- XmlILIndex.cs
- ColumnMapProcessor.cs
- DataGridViewUtilities.cs
- Array.cs
- WebConfigurationHost.cs
- TypeFieldSchema.cs
- DockAndAnchorLayout.cs
- CodeBinaryOperatorExpression.cs
- safelinkcollection.cs
- ObjectManager.cs
- ObjectStateManagerMetadata.cs
- DesignerDataTable.cs
- MessageBox.cs
- FontInfo.cs
- EnterpriseServicesHelper.cs
- DBConcurrencyException.cs
- GeneralTransformGroup.cs
- ObjectContext.cs
- MatrixConverter.cs
- ServicePointManager.cs
- OneOfConst.cs
- CellTreeNode.cs
- ItemMap.cs
- WindowsPen.cs
- ManagementOptions.cs
- __ConsoleStream.cs
- AnonymousIdentificationModule.cs
- OperatingSystem.cs
- DateTimeOffsetConverter.cs
- FilteredDataSetHelper.cs
- UriWriter.cs
- Transform.cs
- control.ime.cs
- FilterableAttribute.cs
- LineMetrics.cs
- WebPartsPersonalizationAuthorization.cs
- PathStreamGeometryContext.cs
- DesignerAttribute.cs
- AggregatePushdown.cs
- BuildProviderUtils.cs
- OutputCacheSettings.cs
- BindingGroup.cs
- OdbcErrorCollection.cs
- StorageRoot.cs
- DistributedTransactionPermission.cs
- connectionpool.cs
- versioninfo.cs
- AesManaged.cs
- SimpleBitVector32.cs