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
- ScriptResourceInfo.cs
- ScriptComponentDescriptor.cs
- CustomValidator.cs
- ValueHandle.cs
- ThreadAbortException.cs
- LineVisual.cs
- ClientUrlResolverWrapper.cs
- XmlDataSourceView.cs
- DebugHandleTracker.cs
- TypeUtil.cs
- ResXBuildProvider.cs
- SectionInput.cs
- DebugHandleTracker.cs
- DispatcherExceptionEventArgs.cs
- mactripleDES.cs
- PageThemeParser.cs
- StringSorter.cs
- EventProxy.cs
- CompressEmulationStream.cs
- EventRoute.cs
- DataGridItemAttachedStorage.cs
- SiteMap.cs
- MatcherBuilder.cs
- OpCellTreeNode.cs
- ScriptModule.cs
- Dictionary.cs
- IgnoreFlushAndCloseStream.cs
- ObjectNotFoundException.cs
- ADMembershipUser.cs
- ProcessHostMapPath.cs
- RecordBuilder.cs
- SQLBinaryStorage.cs
- BrowserDefinitionCollection.cs
- SafeRightsManagementQueryHandle.cs
- WorkflowInstanceContextProvider.cs
- SessionPageStateSection.cs
- TileBrush.cs
- KoreanLunisolarCalendar.cs
- DBDataPermission.cs
- Context.cs
- EventLogTraceListener.cs
- SerialPort.cs
- StrokeNodeData.cs
- CodeGenerator.cs
- PnrpPermission.cs
- CodeDirectoryCompiler.cs
- ProcessModelInfo.cs
- EncoderParameters.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- SafeNativeMethodsCLR.cs
- SynchronizingStream.cs
- InternalConfigHost.cs
- ActivityTypeCodeDomSerializer.cs
- HttpWriter.cs
- CorruptingExceptionCommon.cs
- MetaData.cs
- ComplexPropertyEntry.cs
- UInt16Storage.cs
- SqlInternalConnectionSmi.cs
- webclient.cs
- AliasGenerator.cs
- ImportCatalogPart.cs
- _ConnectionGroup.cs
- DateTimeValueSerializerContext.cs
- ResXResourceSet.cs
- HistoryEventArgs.cs
- InvocationExpression.cs
- OracleDataReader.cs
- BindableTemplateBuilder.cs
- RuntimeConfigurationRecord.cs
- TranslateTransform3D.cs
- SiteMapHierarchicalDataSourceView.cs
- VectorConverter.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- URLIdentityPermission.cs
- HScrollBar.cs
- CryptoApi.cs
- MemberPathMap.cs
- HttpClientCertificate.cs
- RepeatBehaviorConverter.cs
- MethodExpr.cs
- HtmlFormWrapper.cs
- MappingException.cs
- DataGridViewHeaderCell.cs
- ActivityExecutorDelegateInfo.cs
- XmlComment.cs
- Message.cs
- Roles.cs
- UserControlBuildProvider.cs
- JumpItem.cs
- GetPageNumberCompletedEventArgs.cs
- HostProtectionException.cs
- ViewPort3D.cs
- ToolStripControlHost.cs
- TextServicesHost.cs
- HttpListenerPrefixCollection.cs
- DataServiceResponse.cs
- InputScopeAttribute.cs
- State.cs