Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlCacheDependency.cs
- ISessionStateStore.cs
- LZCodec.cs
- DataGridView.cs
- TextBox.cs
- RuntimeWrappedException.cs
- ClientBuildManagerCallback.cs
- MemberDescriptor.cs
- CorrelationHandle.cs
- MetabaseServerConfig.cs
- UnsafeNativeMethods.cs
- SortKey.cs
- CodeSnippetStatement.cs
- CommonProperties.cs
- Types.cs
- DivideByZeroException.cs
- FrameworkElement.cs
- AutomationPropertyInfo.cs
- webeventbuffer.cs
- RelativeSource.cs
- CapacityStreamGeometryContext.cs
- PeerUnsafeNativeCryptMethods.cs
- ChildrenQuery.cs
- HttpModuleActionCollection.cs
- Int64Animation.cs
- HelpFileFileNameEditor.cs
- ComplexTypeEmitter.cs
- _ListenerAsyncResult.cs
- WorkflowInstanceProvider.cs
- GuidConverter.cs
- ObjectReferenceStack.cs
- OdbcDataAdapter.cs
- ActivityCodeDomSerializer.cs
- ComponentChangedEvent.cs
- OptimizerPatterns.cs
- CodePropertyReferenceExpression.cs
- BrowserDefinition.cs
- ContainerAction.cs
- HatchBrush.cs
- IdentityManager.cs
- selecteditemcollection.cs
- PerformanceCounterManager.cs
- UTF7Encoding.cs
- XmlArrayItemAttributes.cs
- DeviceSpecificDesigner.cs
- TextBox.cs
- BatchWriter.cs
- SmiEventSink_Default.cs
- DeferredElementTreeState.cs
- SecurityContextTokenCache.cs
- ByteRangeDownloader.cs
- UiaCoreApi.cs
- Buffer.cs
- Context.cs
- KnownColorTable.cs
- CacheSection.cs
- configsystem.cs
- SiblingIterators.cs
- SessionPageStateSection.cs
- TraceContext.cs
- WindowsFont.cs
- TreeBuilderXamlTranslator.cs
- SafeSystemMetrics.cs
- XmlSchemaSimpleTypeRestriction.cs
- EntityDataSourceSelectingEventArgs.cs
- LayoutEditorPart.cs
- CredentialSelector.cs
- SignedXml.cs
- SafeNativeMethods.cs
- ApplicationDirectory.cs
- ClientSettingsProvider.cs
- RelationshipDetailsCollection.cs
- XmlSignificantWhitespace.cs
- DataTableExtensions.cs
- PrintDialog.cs
- ObjectManager.cs
- ContractBase.cs
- NativeWindow.cs
- FunctionUpdateCommand.cs
- XmlAtomicValue.cs
- TabletDeviceInfo.cs
- AutomationInteropProvider.cs
- X509Certificate.cs
- BitmapMetadataBlob.cs
- RelationshipConstraintValidator.cs
- ConsoleCancelEventArgs.cs
- SmiRequestExecutor.cs
- ResourceContainer.cs
- SamlAttribute.cs
- LinqDataSourceValidationException.cs
- ObfuscationAttribute.cs
- ServiceNameCollection.cs
- Rect.cs
- SqlTrackingService.cs
- ScrollChrome.cs
- FontInfo.cs
- ObjectCloneHelper.cs
- DbConnectionHelper.cs
- CryptoStream.cs
- DisplayNameAttribute.cs