Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlArrayItemAttribute.cs / 1305376 / 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
- HttpTransportElement.cs
- MsmqProcessProtocolHandler.cs
- ComponentDispatcher.cs
- OutputCacheModule.cs
- DataGridViewControlCollection.cs
- FileVersionInfo.cs
- FixedHyperLink.cs
- EndpointDesigner.cs
- TimeoutException.cs
- UrlPath.cs
- EventRoute.cs
- mediaeventshelper.cs
- _ProxyChain.cs
- SqlReorderer.cs
- Registration.cs
- Matrix.cs
- GACMembershipCondition.cs
- NeutralResourcesLanguageAttribute.cs
- RadioButtonBaseAdapter.cs
- ComboBox.cs
- TextEndOfParagraph.cs
- HttpListenerResponse.cs
- SafeCryptoHandles.cs
- TaskResultSetter.cs
- CustomValidator.cs
- ToolStripControlHost.cs
- StorageFunctionMapping.cs
- SamlSerializer.cs
- TraceShell.cs
- Span.cs
- ConstructorArgumentAttribute.cs
- HtmlForm.cs
- NativeBuffer.cs
- WebPartPersonalization.cs
- UInt16.cs
- TableItemPattern.cs
- SoapAttributeOverrides.cs
- COM2PropertyPageUITypeConverter.cs
- Int32CAMarshaler.cs
- State.cs
- PathFigure.cs
- ThreadStateException.cs
- LocalizableAttribute.cs
- sqlcontext.cs
- COAUTHINFO.cs
- NavigationEventArgs.cs
- CodeCommentStatementCollection.cs
- Journaling.cs
- TypedReference.cs
- ComponentConverter.cs
- TypeBuilder.cs
- GeometryHitTestParameters.cs
- AxParameterData.cs
- BindingUtils.cs
- CreateRefExpr.cs
- RenderData.cs
- BinarySerializer.cs
- OdbcConnectionString.cs
- FamilyTypeface.cs
- ExpanderAutomationPeer.cs
- CoreSwitches.cs
- FileLevelControlBuilderAttribute.cs
- SByte.cs
- _emptywebproxy.cs
- DataViewManagerListItemTypeDescriptor.cs
- TextTreeText.cs
- DesignerTransactionCloseEvent.cs
- TextParagraph.cs
- ColorMatrix.cs
- SiteMapNodeCollection.cs
- WSFederationHttpSecurity.cs
- EdmFunction.cs
- SafeMemoryMappedViewHandle.cs
- MessageQueueEnumerator.cs
- EmptyElement.cs
- LoginDesignerUtil.cs
- WorkflowViewStateService.cs
- XmlSerializationWriter.cs
- MediaScriptCommandRoutedEventArgs.cs
- Msec.cs
- TypeBuilder.cs
- InstanceData.cs
- CalendarModeChangedEventArgs.cs
- WebException.cs
- DesignTable.cs
- TypefaceCollection.cs
- PasswordBox.cs
- XsdBuildProvider.cs
- Vertex.cs
- AutoScrollHelper.cs
- FlagsAttribute.cs
- RtfControls.cs
- HostProtectionException.cs
- PropertyStore.cs
- BorderSidesEditor.cs
- CustomErrorsSectionWrapper.cs
- AssociationType.cs
- OracleParameterCollection.cs
- TabPanel.cs
- Trace.cs