Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Serialization / XmlAnyElementAttribute.cs / 1 / XmlAnyElementAttribute.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 XmlAnyElementAttribute : System.Attribute { string name; string ns; int order = -1; bool nsSpecified = false; ///[To be supplied.] ////// /// public XmlAnyElementAttribute() { } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name) { this.name = name; } ///[To be supplied.] ////// /// public XmlAnyElementAttribute(string name, string ns) { this.name = name; this.ns = ns; nsSpecified = true; } ///[To be supplied.] ////// /// public string Name { get { return name == null ? string.Empty : name; } set { name = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; nsSpecified = true; } } ///[To be supplied.] ////// /// public int Order { get { return order; } set { if (value < 0) throw new ArgumentException(Res.GetString(Res.XmlDisallowNegativeValues), "Order"); order = value; } } internal bool NamespaceSpecified { get { return nsSpecified; } } } } // 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
- PropertyOverridesDialog.cs
- SourceChangedEventArgs.cs
- shaperfactory.cs
- DataRow.cs
- SimpleBitVector32.cs
- WindowsRichEditRange.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- RoutedEventHandlerInfo.cs
- KeyInfo.cs
- ObjectTag.cs
- RequiredFieldValidator.cs
- ByteKeyFrameCollection.cs
- Opcode.cs
- MaterializeFromAtom.cs
- IssuedSecurityTokenParameters.cs
- DashStyles.cs
- BitmapInitialize.cs
- MailDefinition.cs
- Compilation.cs
- GreenMethods.cs
- DataGridViewSortCompareEventArgs.cs
- DocumentViewerBaseAutomationPeer.cs
- TemplatedMailWebEventProvider.cs
- XmlSchemaObjectCollection.cs
- RequestCache.cs
- HtmlUtf8RawTextWriter.cs
- ItemType.cs
- DbProviderFactoriesConfigurationHandler.cs
- IDictionary.cs
- SecurityToken.cs
- XmlSerializationGeneratedCode.cs
- Util.cs
- OleDbParameter.cs
- ObjectListShowCommandsEventArgs.cs
- ViewCellRelation.cs
- IgnoreSectionHandler.cs
- recordstate.cs
- BaseTemplateBuildProvider.cs
- ImplicitInputBrush.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ScrollBar.cs
- DesignTableCollection.cs
- RNGCryptoServiceProvider.cs
- ValidatedControlConverter.cs
- CodeAttributeDeclaration.cs
- RandomNumberGenerator.cs
- XmlAttributeAttribute.cs
- HMACSHA1.cs
- SelectingProviderEventArgs.cs
- _emptywebproxy.cs
- Brush.cs
- ResourceProviderFactory.cs
- RuntimeConfigurationRecord.cs
- QilList.cs
- DataList.cs
- Substitution.cs
- WorkflowItemPresenter.cs
- UserControl.cs
- CompilerTypeWithParams.cs
- RangeValuePatternIdentifiers.cs
- SchemeSettingElementCollection.cs
- embossbitmapeffect.cs
- Color.cs
- ActivityCompletionCallbackWrapper.cs
- SchemaExporter.cs
- ValidationRuleCollection.cs
- ExpressionNode.cs
- StringCollection.cs
- EnumType.cs
- Screen.cs
- ServiceModelDictionary.cs
- QilName.cs
- NativeMethods.cs
- OSFeature.cs
- ContentFileHelper.cs
- SqlWebEventProvider.cs
- DataGridViewTextBoxEditingControl.cs
- SqlPersonalizationProvider.cs
- TextTreeTextBlock.cs
- XmlWhitespace.cs
- _NativeSSPI.cs
- WorkflowOperationBehavior.cs
- PageEventArgs.cs
- PostBackTrigger.cs
- EventPrivateKey.cs
- Matrix3D.cs
- ToolStripItemEventArgs.cs
- VisualCollection.cs
- TextBox.cs
- XmlUTF8TextWriter.cs
- SpeechUI.cs
- XmlSchemaInclude.cs
- Transactions.cs
- CodeBlockBuilder.cs
- ProfilePropertyNameValidator.cs
- XmlSchemaElement.cs
- DataGridItemCollection.cs
- wgx_commands.cs
- TagPrefixCollection.cs
- Ports.cs