Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlAnyElementAttribute.cs / 1305376 / 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.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProcessStartInfo.cs
- ListDesigner.cs
- ComplexBindingPropertiesAttribute.cs
- WebPartDisplayModeEventArgs.cs
- ExtenderProvidedPropertyAttribute.cs
- ConnectionManagementElementCollection.cs
- WebPartRestoreVerb.cs
- MatrixTransform3D.cs
- Literal.cs
- MetadataImporterQuotas.cs
- _BufferOffsetSize.cs
- Queue.cs
- ElementHost.cs
- DescendantQuery.cs
- XLinq.cs
- GeometryValueSerializer.cs
- ResourceManager.cs
- AccessedThroughPropertyAttribute.cs
- AvTraceFormat.cs
- ClosableStream.cs
- DesignerFrame.cs
- InputReport.cs
- SortQueryOperator.cs
- ServiceX509SecurityTokenProvider.cs
- ParentUndoUnit.cs
- PropertyRecord.cs
- TextWriter.cs
- ParseNumbers.cs
- UnsafeNativeMethods.cs
- DataObjectSettingDataEventArgs.cs
- PopupControlService.cs
- JsonReaderWriterFactory.cs
- ChineseLunisolarCalendar.cs
- OdbcException.cs
- SoapExtensionImporter.cs
- ScrollViewerAutomationPeer.cs
- ScriptComponentDescriptor.cs
- Monitor.cs
- HttpModuleAction.cs
- _DomainName.cs
- ComplexTypeEmitter.cs
- ScriptManagerProxy.cs
- ZipFileInfoCollection.cs
- Stylesheet.cs
- RootBrowserWindowProxy.cs
- documentsequencetextview.cs
- DayRenderEvent.cs
- QueryConverter.cs
- CultureInfoConverter.cs
- XamlLoadErrorInfo.cs
- ZipIOExtraField.cs
- BooleanAnimationUsingKeyFrames.cs
- DoubleAnimationBase.cs
- UnescapedXmlDiagnosticData.cs
- GenericTypeParameterBuilder.cs
- TraceEventCache.cs
- ApplySecurityAndSendAsyncResult.cs
- XmlObjectSerializerReadContext.cs
- TypeElement.cs
- ObjectResult.cs
- ISAPIWorkerRequest.cs
- HostProtectionPermission.cs
- XmlMemberMapping.cs
- StrongNamePublicKeyBlob.cs
- ThousandthOfEmRealPoints.cs
- Zone.cs
- SerialStream.cs
- RotateTransform3D.cs
- ClaimTypeElement.cs
- InputLangChangeRequestEvent.cs
- EventLogLink.cs
- ActiveXMessageFormatter.cs
- PropertyChangedEventArgs.cs
- Quad.cs
- ItemsChangedEventArgs.cs
- CompoundFileDeflateTransform.cs
- InheritablePropertyChangeInfo.cs
- Ops.cs
- DragCompletedEventArgs.cs
- ModuleBuilderData.cs
- ListViewTableRow.cs
- TextDecorationCollection.cs
- StylesEditorDialog.cs
- DependencyPropertyChangedEventArgs.cs
- OptionalRstParameters.cs
- DynamicEntity.cs
- ClientRoleProvider.cs
- XmlProcessingInstruction.cs
- WS2007HttpBindingElement.cs
- ResponseStream.cs
- NextPreviousPagerField.cs
- ToolStripDropDownClosingEventArgs.cs
- GenericIdentity.cs
- RawStylusInput.cs
- DataGridTableCollection.cs
- DataViewManager.cs
- WeakEventTable.cs
- WebBrowserUriTypeConverter.cs
- ObjectView.cs
- FixedPageProcessor.cs