Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / Serialization / XmlRootAttribute.cs / 1 / XmlRootAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System; using System.Xml.Schema; ////// /// [AttributeUsage(AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct)] public class XmlRootAttribute : System.Attribute { string elementName; string ns; string dataType; bool nullable = true; bool nullableSpecified; ///[To be supplied.] ////// /// public XmlRootAttribute() { } ///[To be supplied.] ////// /// public XmlRootAttribute(string elementName) { this.elementName = elementName; } ///[To be supplied.] ////// /// public string ElementName { get { return elementName == null ? string.Empty : elementName; } set { elementName = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string DataType { get { return dataType == null ? string.Empty : dataType; } set { dataType = value; } } ///[To be supplied.] ////// /// public bool IsNullable { get { return nullable; } set { nullable = value; nullableSpecified = true; } } internal bool IsNullableSpecified { get { return nullableSpecified; } } internal string Key { get { return (ns == null ? String.Empty : ns) + ":" + ElementName + ":" + nullable.ToString(); } } } } // 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
- SafeMILHandle.cs
- XmlText.cs
- EventLogEntryCollection.cs
- FixedTextBuilder.cs
- Baml2006KnownTypes.cs
- Rotation3DKeyFrameCollection.cs
- SystemTcpConnection.cs
- Site.cs
- ItemAutomationPeer.cs
- ArrayConverter.cs
- AppDomainUnloadedException.cs
- OleDbReferenceCollection.cs
- DataGridViewEditingControlShowingEventArgs.cs
- DataGridCellEditEndingEventArgs.cs
- BitmapFrameDecode.cs
- SynchronizedPool.cs
- DataControlFieldCell.cs
- ZoneButton.cs
- DataBoundControl.cs
- DataSourceBooleanViewSchemaConverter.cs
- Expr.cs
- StyleXamlParser.cs
- WindowsGrip.cs
- EventMap.cs
- DateTimeUtil.cs
- EntityStoreSchemaGenerator.cs
- RequestQueue.cs
- OperationPerformanceCounters.cs
- FileClassifier.cs
- StyleSelector.cs
- XmlSchemaDocumentation.cs
- Table.cs
- InputLangChangeEvent.cs
- DictionarySectionHandler.cs
- SpeakInfo.cs
- TraceXPathNavigator.cs
- DataTemplateSelector.cs
- ServicesUtilities.cs
- EventBuilder.cs
- ComponentGuaranteesAttribute.cs
- ConstantProjectedSlot.cs
- StringUtil.cs
- SkinIDTypeConverter.cs
- XmlEnumAttribute.cs
- ViewStateException.cs
- ProcessProtocolHandler.cs
- ConfigurationStrings.cs
- TextCollapsingProperties.cs
- SspiNegotiationTokenProvider.cs
- Timer.cs
- DataGridRowHeaderAutomationPeer.cs
- Attributes.cs
- WebPartUserCapability.cs
- WindowsPrincipal.cs
- TypeTypeConverter.cs
- FrameworkTemplate.cs
- BindingFormattingDialog.cs
- DoubleAnimationUsingPath.cs
- TextRangeEditTables.cs
- InitializerFacet.cs
- CapabilitiesState.cs
- CharConverter.cs
- DataGridViewBand.cs
- RoleGroupCollection.cs
- EnumerableWrapperWeakToStrong.cs
- Button.cs
- linebase.cs
- XmlDataSource.cs
- CultureTableRecord.cs
- IisTraceWebEventProvider.cs
- DirtyTextRange.cs
- InternalDuplexChannelFactory.cs
- PrincipalPermission.cs
- CellTreeNode.cs
- SimpleFieldTemplateUserControl.cs
- UrlMappingsModule.cs
- ListViewInsertedEventArgs.cs
- ConfigXmlCDataSection.cs
- DeleteIndexBinder.cs
- PeerPresenceInfo.cs
- Rules.cs
- CommonRemoteMemoryBlock.cs
- DataListItem.cs
- ChangeBlockUndoRecord.cs
- IdentityValidationException.cs
- Thumb.cs
- PersonalizablePropertyEntry.cs
- FormViewRow.cs
- SmiConnection.cs
- ByteConverter.cs
- WorkerRequest.cs
- EditorPartChrome.cs
- MorphHelper.cs
- BitmapEffectrendercontext.cs
- FacetDescriptionElement.cs
- CustomErrorsSectionWrapper.cs
- SubclassTypeValidatorAttribute.cs
- ContainerSelectorGlyph.cs
- RegexGroupCollection.cs
- XmlJsonReader.cs