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
- SynthesizerStateChangedEventArgs.cs
- CodeIdentifiers.cs
- TemplateBindingExpression.cs
- CodeExporter.cs
- ManagedWndProcTracker.cs
- AspCompat.cs
- TextMarkerSource.cs
- SerialErrors.cs
- _DisconnectOverlappedAsyncResult.cs
- XhtmlTextWriter.cs
- PrimitiveXmlSerializers.cs
- MessageRpc.cs
- ToolboxComponentsCreatingEventArgs.cs
- StoreItemCollection.cs
- Events.cs
- CollectionType.cs
- FixUp.cs
- ToolStripButton.cs
- ApplicationProxyInternal.cs
- DefaultPropertyAttribute.cs
- GraphicsState.cs
- ReflectionServiceProvider.cs
- TimeoutException.cs
- IssuedTokenParametersEndpointAddressElement.cs
- SqlMethodAttribute.cs
- StyleBamlTreeBuilder.cs
- DefaultSerializationProviderAttribute.cs
- QilPatternFactory.cs
- Currency.cs
- XmlSortKey.cs
- MoveSizeWinEventHandler.cs
- __Filters.cs
- TextElementEnumerator.cs
- VBIdentifierDesigner.xaml.cs
- WeakEventTable.cs
- InputBinding.cs
- WebPartDescription.cs
- InteropAutomationProvider.cs
- StateWorkerRequest.cs
- DependentList.cs
- GridViewCommandEventArgs.cs
- ModelTypeConverter.cs
- DocumentPageTextView.cs
- SpanIndex.cs
- DataGridCell.cs
- UnsafeNativeMethods.cs
- SByteConverter.cs
- InternalDispatchObject.cs
- ServicePointManager.cs
- PerformanceCounter.cs
- TypeFieldSchema.cs
- BinaryFormatterWriter.cs
- VariableAction.cs
- UnsafeNativeMethods.cs
- ReferenceConverter.cs
- FullTextLine.cs
- AppearanceEditorPart.cs
- PointCollection.cs
- SchemaCollectionCompiler.cs
- ToolboxItem.cs
- CultureSpecificStringDictionary.cs
- FrameAutomationPeer.cs
- SupportingTokenSecurityTokenResolver.cs
- KeyToListMap.cs
- ThemeableAttribute.cs
- EntitySqlQueryCacheKey.cs
- Image.cs
- Vector3dCollection.cs
- StdValidatorsAndConverters.cs
- OleStrCAMarshaler.cs
- DictionaryGlobals.cs
- IIS7UserPrincipal.cs
- DecodeHelper.cs
- DbProviderFactories.cs
- PartialTrustValidationBehavior.cs
- InfoCardServiceInstallComponent.cs
- GridViewRowPresenter.cs
- PropertyEmitterBase.cs
- AccessControlList.cs
- HandlerWithFactory.cs
- ToolStripTextBox.cs
- CodeCompileUnit.cs
- DecoratedNameAttribute.cs
- Int16.cs
- TextPointer.cs
- ContractAdapter.cs
- AppDomainFactory.cs
- XmlBindingWorker.cs
- StorageAssociationSetMapping.cs
- FormViewUpdatedEventArgs.cs
- NestPullup.cs
- HttpWebRequest.cs
- smtpconnection.cs
- UnaryQueryOperator.cs
- ChtmlTextWriter.cs
- JavascriptCallbackResponseProperty.cs
- ElementsClipboardData.cs
- ParserHooks.cs
- SoundPlayerAction.cs
- UndirectedGraph.cs