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
- MethodImplAttribute.cs
- SelectionManager.cs
- RoutedUICommand.cs
- HtmlHead.cs
- SoapTransportImporter.cs
- FtpRequestCacheValidator.cs
- TimersDescriptionAttribute.cs
- CmsInterop.cs
- CalloutQueueItem.cs
- DocumentReferenceCollection.cs
- SystemFonts.cs
- _HeaderInfo.cs
- SectionVisual.cs
- WsdlInspector.cs
- WebUtil.cs
- SupportingTokenSpecification.cs
- ParentControlDesigner.cs
- ModelItemDictionary.cs
- DataShape.cs
- MethodAccessException.cs
- MouseGesture.cs
- DataGridViewAutoSizeModeEventArgs.cs
- EncryptedKey.cs
- DiagnosticsConfigurationHandler.cs
- XmlExpressionDumper.cs
- ThicknessAnimationUsingKeyFrames.cs
- CodeCommentStatement.cs
- PerformanceCounterLib.cs
- ResXBuildProvider.cs
- NegotiateStream.cs
- ClientConfigPaths.cs
- PersistencePipeline.cs
- OdbcHandle.cs
- storepermission.cs
- KeysConverter.cs
- GlyphInfoList.cs
- StorageBasedPackageProperties.cs
- DataGridViewDataErrorEventArgs.cs
- WebPartCancelEventArgs.cs
- NativeMethods.cs
- XmlProcessingInstruction.cs
- ScriptingRoleServiceSection.cs
- CollectionTraceRecord.cs
- CheckBoxList.cs
- LassoHelper.cs
- IISMapPath.cs
- TextServicesPropertyRanges.cs
- Config.cs
- Menu.cs
- UnaryNode.cs
- TextServicesLoader.cs
- ValidationUtility.cs
- CultureMapper.cs
- ReadOnlyHierarchicalDataSource.cs
- DataSourceXmlTextReader.cs
- Ipv6Element.cs
- TabletCollection.cs
- GroupQuery.cs
- AnnotationResourceCollection.cs
- Binding.cs
- RegisteredExpandoAttribute.cs
- TextPointer.cs
- PathNode.cs
- ConfigurationException.cs
- Vector3D.cs
- infer.cs
- SByteStorage.cs
- DataGridrowEditEndingEventArgs.cs
- FamilyCollection.cs
- FieldBuilder.cs
- querybuilder.cs
- ProfileModule.cs
- Documentation.cs
- MaskInputRejectedEventArgs.cs
- ViewStateException.cs
- SharedMemory.cs
- oledbmetadatacollectionnames.cs
- AuthStoreRoleProvider.cs
- GlyphRunDrawing.cs
- UniqueTransportManagerRegistration.cs
- RelatedCurrencyManager.cs
- columnmapfactory.cs
- ContextQuery.cs
- DataGridBeginningEditEventArgs.cs
- MetabaseSettingsIis7.cs
- UnsafeNativeMethods.cs
- ProfilePropertyMetadata.cs
- ReflectTypeDescriptionProvider.cs
- SkinBuilder.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- RoleGroupCollection.cs
- ColumnTypeConverter.cs
- ColorBlend.cs
- BindingCompleteEventArgs.cs
- MessageSecurityVersion.cs
- JsonServiceDocumentSerializer.cs
- ErrorView.xaml.cs
- DateTimeParse.cs
- SmiXetterAccessMap.cs
- LoadWorkflowByInstanceKeyCommand.cs