Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlArrayAttribute.cs / 1 / XmlArrayAttribute.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=false)] public class XmlArrayAttribute : System.Attribute { string elementName; string ns; bool nullable; XmlSchemaForm form = XmlSchemaForm.None; int order = -1; ///[To be supplied.] ////// /// public XmlArrayAttribute() { } ///[To be supplied.] ////// /// public XmlArrayAttribute(string elementName) { this.elementName = elementName; } ///[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 bool IsNullable { get { return nullable; } set { nullable = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = value; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = 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=false)] public class XmlArrayAttribute : System.Attribute { string elementName; string ns; bool nullable; XmlSchemaForm form = XmlSchemaForm.None; int order = -1; ///[To be supplied.] ////// /// public XmlArrayAttribute() { } ///[To be supplied.] ////// /// public XmlArrayAttribute(string elementName) { this.elementName = elementName; } ///[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 bool IsNullable { get { return nullable; } set { nullable = value; } } ///[To be supplied.] ////// /// public XmlSchemaForm Form { get { return form; } set { form = value; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = 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
- AxImporter.cs
- ProviderConnectionPoint.cs
- RecognizedWordUnit.cs
- ToolStripControlHost.cs
- FixedElement.cs
- MemberExpression.cs
- TraceUtility.cs
- DuplicateWaitObjectException.cs
- HttpHandlerActionCollection.cs
- EntityDataSourceReferenceGroup.cs
- AutomationEvent.cs
- ForwardPositionQuery.cs
- OleDbConnectionFactory.cs
- ExpandSegment.cs
- RangeValidator.cs
- QueryCacheManager.cs
- DataGridViewCellFormattingEventArgs.cs
- Emitter.cs
- PackageDigitalSignatureManager.cs
- FullTextLine.cs
- Bidi.cs
- XamlSerializer.cs
- DrawingVisual.cs
- SystemIPInterfaceProperties.cs
- CompModSwitches.cs
- XmlSerializableReader.cs
- DataGridViewCellParsingEventArgs.cs
- DataBindEngine.cs
- Listbox.cs
- _CommandStream.cs
- DummyDataSource.cs
- GridView.cs
- ItemTypeToolStripMenuItem.cs
- QueryableFilterUserControl.cs
- DynamicValueConverter.cs
- OptimizerPatterns.cs
- ReferentialConstraint.cs
- ReflectionTypeLoadException.cs
- WebPartVerbCollection.cs
- AdapterSwitches.cs
- UriWriter.cs
- SEHException.cs
- FastEncoder.cs
- TreeNodeBinding.cs
- TabRenderer.cs
- CompiledIdentityConstraint.cs
- Rectangle.cs
- PlainXmlDeserializer.cs
- StructuredTypeInfo.cs
- HttpResponseBase.cs
- SyncOperationState.cs
- Crypto.cs
- SafeCoTaskMem.cs
- CacheOutputQuery.cs
- EventRecordWrittenEventArgs.cs
- DataSourceHelper.cs
- SettingsPropertyCollection.cs
- SubstitutionDesigner.cs
- FaultException.cs
- BaseUriHelper.cs
- Camera.cs
- SelectionProcessor.cs
- Base64Encoder.cs
- AccessDataSource.cs
- DataGridCaption.cs
- AlphaSortedEnumConverter.cs
- XmlLinkedNode.cs
- EditorZoneBase.cs
- ObjectMemberMapping.cs
- ProgressiveCrcCalculatingStream.cs
- SqlCommandSet.cs
- VisualTarget.cs
- COM2Properties.cs
- BufferedStream.cs
- EncryptedKey.cs
- SQLInt16Storage.cs
- OdbcConnection.cs
- BatchServiceHost.cs
- MessageQueuePermissionAttribute.cs
- WebResourceAttribute.cs
- EventBuilder.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ColorTransform.cs
- ToolStripContainer.cs
- KeyValueConfigurationCollection.cs
- UserPreferenceChangingEventArgs.cs
- UrlPath.cs
- CompareInfo.cs
- Configuration.cs
- ConfigurationLocation.cs
- InputLanguageProfileNotifySink.cs
- SettingsBase.cs
- TwoPhaseCommitProxy.cs
- InternalResources.cs
- NativeMethods.cs
- ViewStateModeByIdAttribute.cs
- WebDisplayNameAttribute.cs
- SQLInt32Storage.cs
- Compiler.cs
- InfoCardMetadataExchangeClient.cs