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 / 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
- HwndAppCommandInputProvider.cs
- SplineKeyFrames.cs
- SqlDataSourceEnumerator.cs
- Timeline.cs
- ChtmlSelectionListAdapter.cs
- FileInfo.cs
- StylusButton.cs
- TreeView.cs
- DBSqlParserTable.cs
- RightsManagementPermission.cs
- TracedNativeMethods.cs
- UIElementParaClient.cs
- ColorMap.cs
- HttpModuleCollection.cs
- CollectionViewGroupInternal.cs
- Hash.cs
- ProcessHostMapPath.cs
- HandlerFactoryWrapper.cs
- _FtpControlStream.cs
- BufferedResponseStream.cs
- AuthStoreRoleProvider.cs
- SmtpLoginAuthenticationModule.cs
- PersonalizationProviderHelper.cs
- BevelBitmapEffect.cs
- TraceSection.cs
- TransformerInfoCollection.cs
- NotifyIcon.cs
- AutomationPeer.cs
- StartUpEventArgs.cs
- cache.cs
- EntryPointNotFoundException.cs
- SqlBuilder.cs
- PersonalizationAdministration.cs
- NonBatchDirectoryCompiler.cs
- ConstraintConverter.cs
- DecoderExceptionFallback.cs
- AccessControlEntry.cs
- DodSequenceMerge.cs
- CodeExpressionStatement.cs
- ChannelEndpointElementCollection.cs
- WebServiceErrorEvent.cs
- Rfc2898DeriveBytes.cs
- Propagator.Evaluator.cs
- LoginViewDesigner.cs
- CodeSnippetTypeMember.cs
- ExceptionUtil.cs
- BinaryWriter.cs
- BufferAllocator.cs
- BindingListCollectionView.cs
- ChannelListenerBase.cs
- SerializationFieldInfo.cs
- XmlSchemaType.cs
- TemplatedWizardStep.cs
- Rotation3DAnimationUsingKeyFrames.cs
- IdleTimeoutMonitor.cs
- EdmSchemaAttribute.cs
- XmlSchemaComplexContentRestriction.cs
- SecureStringHasher.cs
- EventLogPermission.cs
- SqlConnection.cs
- LayoutTable.cs
- TextContainerChangeEventArgs.cs
- DataGridViewRowEventArgs.cs
- ClientCultureInfo.cs
- XmlSequenceWriter.cs
- BindingExpressionBase.cs
- WSSecurityXXX2005.cs
- NameValueCollection.cs
- DecoderExceptionFallback.cs
- PointValueSerializer.cs
- CodeDomConfigurationHandler.cs
- BitmapInitialize.cs
- UnsafeNativeMethods.cs
- CodeAttributeArgumentCollection.cs
- ConfigurationException.cs
- DataChangedEventManager.cs
- ClonableStack.cs
- OdbcErrorCollection.cs
- ProfileInfo.cs
- ExtensionWindowHeader.cs
- EntityContainerRelationshipSetEnd.cs
- ObjectConverter.cs
- EmbeddedMailObjectsCollection.cs
- ByteStream.cs
- PDBReader.cs
- AttributeCollection.cs
- FormsAuthenticationEventArgs.cs
- IgnorePropertiesAttribute.cs
- ImmutableObjectAttribute.cs
- WebHttpSecurityModeHelper.cs
- ConfigurationStrings.cs
- RtfControlWordInfo.cs
- SingleObjectCollection.cs
- ModuleConfigurationInfo.cs
- Point4D.cs
- CodeNamespaceCollection.cs
- ConfigXmlSignificantWhitespace.cs
- DateTime.cs
- PropertyPushdownHelper.cs
- ApplicationCommands.cs