Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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
- CompilationLock.cs
- Grant.cs
- VBIdentifierTrimConverter.cs
- StorageEntityContainerMapping.cs
- CompositeTypefaceMetrics.cs
- OdbcConnectionStringbuilder.cs
- ClientSettingsStore.cs
- documentation.cs
- PageAsyncTaskManager.cs
- XPathNavigator.cs
- XmlSiteMapProvider.cs
- FilteredReadOnlyMetadataCollection.cs
- TextWriterEngine.cs
- StatusBarPanelClickEvent.cs
- RadioButton.cs
- SqlDataSourceAdvancedOptionsForm.cs
- _HeaderInfo.cs
- ASCIIEncoding.cs
- SQLGuidStorage.cs
- Win32PrintDialog.cs
- GradientStop.cs
- KerberosTokenFactoryCredential.cs
- BindingObserver.cs
- EventLogPermissionEntryCollection.cs
- SortableBindingList.cs
- TextCharacters.cs
- TcpConnectionPool.cs
- RIPEMD160.cs
- HuffCodec.cs
- DetailsView.cs
- FixedSOMTable.cs
- BamlBinaryWriter.cs
- ConcatQueryOperator.cs
- MessageContractExporter.cs
- Main.cs
- StrongNameMembershipCondition.cs
- IDictionary.cs
- GridLength.cs
- HijriCalendar.cs
- HttpCapabilitiesSectionHandler.cs
- ControllableStoryboardAction.cs
- ServiceEndpointElementCollection.cs
- Trace.cs
- DeviceContext2.cs
- CharAnimationUsingKeyFrames.cs
- ConfigurationCollectionAttribute.cs
- SafeFileMappingHandle.cs
- RIPEMD160.cs
- TraceEventCache.cs
- KeyboardDevice.cs
- ReadOnlyDataSource.cs
- NewArray.cs
- UInt32Converter.cs
- ParagraphResult.cs
- TableLayoutStyle.cs
- UserControl.cs
- RegexCompiler.cs
- DataServiceQueryOfT.cs
- MembershipPasswordException.cs
- ToolStripItemCollection.cs
- InvalidComObjectException.cs
- Nullable.cs
- PhoneCallDesigner.cs
- Attachment.cs
- AspNetHostingPermission.cs
- AuthStoreRoleProvider.cs
- DecoderNLS.cs
- ChildrenQuery.cs
- ClientTarget.cs
- SoapEnumAttribute.cs
- FixedTextSelectionProcessor.cs
- SystemIcmpV4Statistics.cs
- BamlVersionHeader.cs
- DefaultAssemblyResolver.cs
- DeferredElementTreeState.cs
- SqlGatherProducedAliases.cs
- Stacktrace.cs
- DataServiceRequestException.cs
- GPPOINT.cs
- Quad.cs
- AstNode.cs
- ExtendedProperty.cs
- Model3DGroup.cs
- JapaneseLunisolarCalendar.cs
- RegexCapture.cs
- OrderingExpression.cs
- ResourceCodeDomSerializer.cs
- EventKeyword.cs
- SqlRowUpdatingEvent.cs
- TcpClientSocketManager.cs
- TreeViewHitTestInfo.cs
- NumberFunctions.cs
- TextElementEnumerator.cs
- SamlAssertion.cs
- ProjectionPathBuilder.cs
- PageAction.cs
- PointLight.cs
- embossbitmapeffect.cs
- Ops.cs
- HelpEvent.cs