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
- ArgumentOutOfRangeException.cs
- Events.cs
- XamlLoadErrorInfo.cs
- URLAttribute.cs
- CodeBinaryOperatorExpression.cs
- CodeDelegateInvokeExpression.cs
- TemplateControlBuildProvider.cs
- SecurityElement.cs
- ObjectParameterCollection.cs
- CellConstantDomain.cs
- StringAnimationUsingKeyFrames.cs
- CacheSection.cs
- CompositeDataBoundControl.cs
- ToolStripScrollButton.cs
- Italic.cs
- Collection.cs
- PageCatalogPart.cs
- FormsAuthenticationUserCollection.cs
- MDIClient.cs
- CalendarDateRangeChangingEventArgs.cs
- TableLayoutPanelBehavior.cs
- _UriTypeConverter.cs
- PropertyCollection.cs
- ToolStripItemEventArgs.cs
- FactoryGenerator.cs
- HtmlInputPassword.cs
- StylusPoint.cs
- ContainerAction.cs
- MenuItemBinding.cs
- Margins.cs
- VsPropertyGrid.cs
- XmlSchemaObject.cs
- DbConnectionStringCommon.cs
- SystemResources.cs
- AddInDeploymentState.cs
- Visual3D.cs
- CompilerWrapper.cs
- PolyBezierSegment.cs
- listitem.cs
- ResourcesBuildProvider.cs
- HyperLinkColumn.cs
- DesignerDataRelationship.cs
- UserPrincipalNameElement.cs
- ChildTable.cs
- ListSourceHelper.cs
- CaseStatementProjectedSlot.cs
- DbReferenceCollection.cs
- LayoutUtils.cs
- TextSpan.cs
- IntSecurity.cs
- ScriptControl.cs
- DbConnectionClosed.cs
- FunctionNode.cs
- HtmlWindow.cs
- LinkArea.cs
- ADConnectionHelper.cs
- AutoCompleteStringCollection.cs
- ToolStripSeparator.cs
- TextStore.cs
- System.Data_BID.cs
- ButtonDesigner.cs
- CustomAttributeFormatException.cs
- HiddenField.cs
- RemoveFromCollection.cs
- ChannelCacheDefaults.cs
- SelectionEditor.cs
- DefaultProfileManager.cs
- ApplicationSettingsBase.cs
- dsa.cs
- PackageDigitalSignature.cs
- EditorPart.cs
- SqlFactory.cs
- ProtectedProviderSettings.cs
- PackageDigitalSignatureManager.cs
- MenuEventArgs.cs
- TrustExchangeException.cs
- DoubleStorage.cs
- OleDbParameterCollection.cs
- CompilerInfo.cs
- TransactionChannelFaultConverter.cs
- DataTablePropertyDescriptor.cs
- ProxyAssemblyNotLoadedException.cs
- SqlTypesSchemaImporter.cs
- ContextMarshalException.cs
- DataControlFieldCollection.cs
- MarkupProperty.cs
- JsonGlobals.cs
- MergePropertyDescriptor.cs
- NameValueCollection.cs
- CapabilitiesSection.cs
- ExpressionWriter.cs
- SQLUtility.cs
- XmlWriterTraceListener.cs
- AnnotationResourceCollection.cs
- XmlNode.cs
- ManifestBasedResourceGroveler.cs
- MsdtcWrapper.cs
- IResourceProvider.cs
- GcHandle.cs
- ChangeToolStripParentVerb.cs