Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // 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
- SoapEnumAttribute.cs
- ClientRuntimeConfig.cs
- SpecialTypeDataContract.cs
- PageCodeDomTreeGenerator.cs
- EventLogPermissionEntry.cs
- ClientRolePrincipal.cs
- ErrorProvider.cs
- Vector.cs
- DataServiceConfiguration.cs
- ProviderSettings.cs
- TreeNodeStyle.cs
- UshortList2.cs
- DataGridViewColumnStateChangedEventArgs.cs
- CodeComment.cs
- AccessControlEntry.cs
- BoolLiteral.cs
- PersonalizablePropertyEntry.cs
- CompressionTransform.cs
- ModuleBuilder.cs
- PropertyGeneratedEventArgs.cs
- CornerRadiusConverter.cs
- QuestionEventArgs.cs
- CollaborationHelperFunctions.cs
- XmlSchemaObjectCollection.cs
- NamespaceEmitter.cs
- itemelement.cs
- PaintValueEventArgs.cs
- ShapeTypeface.cs
- ChtmlCalendarAdapter.cs
- EmptyEnumerable.cs
- Util.cs
- WebPartManagerInternals.cs
- PersonalizationStateInfoCollection.cs
- Token.cs
- KeyPressEvent.cs
- ParseHttpDate.cs
- StrokeNodeOperations.cs
- SystemWebExtensionsSectionGroup.cs
- GridEntry.cs
- UIAgentMonitor.cs
- AnnotationAuthorChangedEventArgs.cs
- ComboBox.cs
- WebResourceUtil.cs
- StretchValidation.cs
- LabelAutomationPeer.cs
- UserMapPath.cs
- DataGridColumnStyleMappingNameEditor.cs
- _HelperAsyncResults.cs
- PeerName.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- AttachInfo.cs
- BooleanKeyFrameCollection.cs
- CodeDirectoryCompiler.cs
- DeclaredTypeValidatorAttribute.cs
- BookmarkEventArgs.cs
- GetIsBrowserClientRequest.cs
- WindowsEditBox.cs
- TypeDescriptorContext.cs
- DragCompletedEventArgs.cs
- RandomDelaySendsAsyncResult.cs
- CompositionAdorner.cs
- CacheForPrimitiveTypes.cs
- AssemblySettingAttributes.cs
- SplitterEvent.cs
- DataBoundControlAdapter.cs
- WebPart.cs
- ClientCultureInfo.cs
- WebPartConnectionsCancelVerb.cs
- SemaphoreFullException.cs
- TimeManager.cs
- AutoGeneratedFieldProperties.cs
- EmptyQuery.cs
- MediaTimeline.cs
- securitycriticaldataformultiplegetandset.cs
- SemaphoreSecurity.cs
- SimpleType.cs
- ViewgenContext.cs
- Splitter.cs
- PropertySourceInfo.cs
- XmlHierarchicalDataSourceView.cs
- MasterPageParser.cs
- ToolBarButtonClickEvent.cs
- ClientScriptManager.cs
- TextModifierScope.cs
- SlotInfo.cs
- StickyNoteHelper.cs
- EncoderParameter.cs
- TableLayoutPanel.cs
- ClientScriptItemCollection.cs
- PerformanceCounterPermission.cs
- TraceSection.cs
- SortKey.cs
- ObjectDataSource.cs
- GlobalProxySelection.cs
- ComplexObject.cs
- Point3D.cs
- parserscommon.cs
- ScriptModule.cs
- CustomGrammar.cs
- PasswordTextNavigator.cs