Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- HttpHandlersSection.cs
- PrintDialog.cs
- HeaderLabel.cs
- MarshalDirectiveException.cs
- QilGeneratorEnv.cs
- RoleManagerEventArgs.cs
- ToolStripItemClickedEventArgs.cs
- HtmlPhoneCallAdapter.cs
- Filter.cs
- AccessedThroughPropertyAttribute.cs
- DbSourceCommand.cs
- CalendarDateRangeChangingEventArgs.cs
- XamlTemplateSerializer.cs
- FlowDocumentReader.cs
- WebPartCancelEventArgs.cs
- QilStrConcatenator.cs
- ParallelTimeline.cs
- FileDataSourceCache.cs
- CssClassPropertyAttribute.cs
- XmlTypeAttribute.cs
- MdImport.cs
- HyperLink.cs
- MSHTMLHostUtil.cs
- LayoutDump.cs
- ReflectionPermission.cs
- IISUnsafeMethods.cs
- DecoderBestFitFallback.cs
- EditableRegion.cs
- AccessDataSourceView.cs
- ConnectionManagementSection.cs
- ControlCachePolicy.cs
- XmlText.cs
- DataGridViewCellConverter.cs
- CodeBlockBuilder.cs
- ListBoxItemWrapperAutomationPeer.cs
- PtsHelper.cs
- StrokeFIndices.cs
- FieldToken.cs
- ConnectionPoolManager.cs
- TableStyle.cs
- NotImplementedException.cs
- ShadowGlyph.cs
- DataGridPreparingCellForEditEventArgs.cs
- DashStyle.cs
- AudioFormatConverter.cs
- TdsParserStateObject.cs
- COM2ComponentEditor.cs
- SkinBuilder.cs
- XPathAncestorIterator.cs
- WebPartTransformerAttribute.cs
- DashStyle.cs
- SqlTriggerAttribute.cs
- OracleCommand.cs
- FileRecordSequenceCompletedAsyncResult.cs
- SafeNativeMethods.cs
- NativeMethods.cs
- PageAsyncTask.cs
- MoveSizeWinEventHandler.cs
- RtfToXamlReader.cs
- RegisteredScript.cs
- MimeParameter.cs
- ColorMatrix.cs
- FormViewPageEventArgs.cs
- SegmentTree.cs
- WinFormsSecurity.cs
- RenderContext.cs
- FontSourceCollection.cs
- XXXOnTypeBuilderInstantiation.cs
- ParentUndoUnit.cs
- typedescriptorpermission.cs
- ToolStripAdornerWindowService.cs
- BufferModesCollection.cs
- NotImplementedException.cs
- WindowsButton.cs
- WebEventCodes.cs
- OdbcConnectionOpen.cs
- TypeUtil.cs
- MembershipValidatePasswordEventArgs.cs
- EffectiveValueEntry.cs
- PersonalizationAdministration.cs
- RegisteredArrayDeclaration.cs
- ScriptMethodAttribute.cs
- ValidationManager.cs
- SchemeSettingElementCollection.cs
- DesigntimeLicenseContext.cs
- DefaultEvaluationContext.cs
- ClientCultureInfo.cs
- _RequestCacheProtocol.cs
- LineMetrics.cs
- embossbitmapeffect.cs
- StyleXamlParser.cs
- ConfigXmlSignificantWhitespace.cs
- BoundsDrawingContextWalker.cs
- SQLDecimalStorage.cs
- BufferAllocator.cs
- SystemMulticastIPAddressInformation.cs
- FindCompletedEventArgs.cs
- BinaryMethodMessage.cs
- PackWebResponse.cs
- CodePropertyReferenceExpression.cs