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
- CommandEventArgs.cs
- SemaphoreFullException.cs
- DataSetMappper.cs
- querybuilder.cs
- HostedElements.cs
- RightsManagementInformation.cs
- PartialCachingAttribute.cs
- Thread.cs
- Comparer.cs
- Underline.cs
- RichTextBox.cs
- RuleInfoComparer.cs
- SmiGettersStream.cs
- PropertyTabChangedEvent.cs
- ColorContext.cs
- _AutoWebProxyScriptEngine.cs
- CapabilitiesSection.cs
- Rfc2898DeriveBytes.cs
- ListControlBoundActionList.cs
- Parallel.cs
- ToolStripTextBox.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ChannelEndpointElement.cs
- SHA1Cng.cs
- WindowsSolidBrush.cs
- TabletDevice.cs
- PolicyChain.cs
- ElapsedEventArgs.cs
- RegexStringValidatorAttribute.cs
- RowToParametersTransformer.cs
- DesignerMetadata.cs
- NativeMethodsOther.cs
- GenerateHelper.cs
- CompilerCollection.cs
- HiddenField.cs
- ECDsaCng.cs
- HttpServerChannel.cs
- PartialList.cs
- AspProxy.cs
- CapabilitiesRule.cs
- ContainerFilterService.cs
- WmlPhoneCallAdapter.cs
- WindowsFormsSynchronizationContext.cs
- XamlSerializerUtil.cs
- ScrollData.cs
- IndexingContentUnit.cs
- Vector3DCollection.cs
- Queue.cs
- IdentityValidationException.cs
- SmiContextFactory.cs
- MethodToken.cs
- XmlSerializer.cs
- RealizationContext.cs
- Section.cs
- BamlTreeNode.cs
- ObjectDataSourceSelectingEventArgs.cs
- RenameRuleObjectDialog.Designer.cs
- BroadcastEventHelper.cs
- WindowsTooltip.cs
- ConnectionOrientedTransportManager.cs
- SourceChangedEventArgs.cs
- NativeMethods.cs
- EntityContainer.cs
- ExternalCalls.cs
- EdmTypeAttribute.cs
- StagingAreaInputItem.cs
- RC2CryptoServiceProvider.cs
- DependentList.cs
- MinimizableAttributeTypeConverter.cs
- HMACSHA256.cs
- HtmlInputButton.cs
- AttachedPropertiesService.cs
- webbrowsersite.cs
- SafeNativeMethods.cs
- BindingExpression.cs
- ContextBase.cs
- CopyCodeAction.cs
- GridViewRowEventArgs.cs
- TypeEnumerableViewSchema.cs
- ViewCellSlot.cs
- DataBinder.cs
- WebPartEditorApplyVerb.cs
- Tuple.cs
- GeometryDrawing.cs
- HtmlControl.cs
- SQLBinaryStorage.cs
- ObservableCollection.cs
- EtwProvider.cs
- XmlDataSource.cs
- messageonlyhwndwrapper.cs
- EnumValidator.cs
- ProxyAttribute.cs
- DataGridColumnHeaderCollection.cs
- ViewStateModeByIdAttribute.cs
- ContourSegment.cs
- ApplicationSecurityInfo.cs
- PageParser.cs
- SqlInfoMessageEvent.cs
- DataTemplateSelector.cs
- CommandLibraryHelper.cs