Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. //------------------------------------------------------------------------------ //[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 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.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MultiView.cs
- HasActivatableWorkflowEvent.cs
- FontUnitConverter.cs
- EventManager.cs
- PointAnimation.cs
- DependencyPropertyHelper.cs
- XmlNodeList.cs
- SafeFileMappingHandle.cs
- ZipIOModeEnforcingStream.cs
- ItemCollection.cs
- EraserBehavior.cs
- DetailsViewActionList.cs
- XmlFormatExtensionPointAttribute.cs
- PtsHelper.cs
- FileSecurity.cs
- ColorContext.cs
- LockCookie.cs
- DefaultAsyncDataDispatcher.cs
- StateWorkerRequest.cs
- MemoryPressure.cs
- PartitionerQueryOperator.cs
- InputLanguageManager.cs
- streamingZipPartStream.cs
- DataGridViewColumnConverter.cs
- RequestQueue.cs
- ParameterEditorUserControl.cs
- HtmlTableCellCollection.cs
- OutputScope.cs
- ConditionalWeakTable.cs
- IsolatedStorage.cs
- EventToken.cs
- BoundPropertyEntry.cs
- OpenFileDialog.cs
- COM2Properties.cs
- ResXResourceSet.cs
- SelectionEditingBehavior.cs
- XmlLanguage.cs
- SymLanguageVendor.cs
- XmlNamespaceMappingCollection.cs
- DataGridColumnHeader.cs
- RelationshipConverter.cs
- RelationshipSet.cs
- filewebrequest.cs
- WSSecureConversation.cs
- DataControlField.cs
- odbcmetadatafactory.cs
- AggregatePushdown.cs
- HeaderUtility.cs
- SystemInfo.cs
- TablePattern.cs
- NullExtension.cs
- GridViewAutomationPeer.cs
- assertwrapper.cs
- HttpWriter.cs
- PixelShader.cs
- UIElementCollection.cs
- HttpModule.cs
- KnownTypeDataContractResolver.cs
- XPathScanner.cs
- Canvas.cs
- Pool.cs
- RequiredFieldValidator.cs
- EventWaitHandleSecurity.cs
- SqlNotificationEventArgs.cs
- StringUtil.cs
- HMACSHA384.cs
- QueryCacheKey.cs
- FileFormatException.cs
- ColumnMapTranslator.cs
- TranslateTransform3D.cs
- TransactionInformation.cs
- NativeMethods.cs
- DSASignatureDeformatter.cs
- dataSvcMapFileLoader.cs
- Memoizer.cs
- ImageInfo.cs
- TextRunCache.cs
- SchemaNames.cs
- ValidatingReaderNodeData.cs
- XmlAnyAttributeAttribute.cs
- XslAst.cs
- ThreadStateException.cs
- CreatingCookieEventArgs.cs
- WorkflowNamespace.cs
- XPathDescendantIterator.cs
- InheritanceContextHelper.cs
- InputQueue.cs
- TextEditorDragDrop.cs
- Missing.cs
- WinEventQueueItem.cs
- PersonalizableTypeEntry.cs
- SizeConverter.cs
- TabControlAutomationPeer.cs
- DefaultAuthorizationContext.cs
- AuthStoreRoleProvider.cs
- WebControlsSection.cs
- FileAuthorizationModule.cs
- listitem.cs
- ListBindableAttribute.cs
- storepermissionattribute.cs