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
- ECDiffieHellmanCng.cs
- QuaternionKeyFrameCollection.cs
- NativeWindow.cs
- ViewLoader.cs
- SizeAnimationClockResource.cs
- StreamResourceInfo.cs
- SqlUserDefinedTypeAttribute.cs
- Rfc2898DeriveBytes.cs
- AssemblyResourceLoader.cs
- MsmqBindingBase.cs
- Walker.cs
- CardSpaceSelector.cs
- Int64Converter.cs
- PrimitiveOperationFormatter.cs
- CheckBoxList.cs
- FontInfo.cs
- ProbeMatches11.cs
- CodeNamespaceCollection.cs
- CompoundFileStorageReference.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WindowProviderWrapper.cs
- Object.cs
- FixedHighlight.cs
- DesignerOptionService.cs
- HttpCachePolicy.cs
- KeyNotFoundException.cs
- ImageUrlEditor.cs
- CommandID.cs
- UnsafeNativeMethods.cs
- PeerApplicationLaunchInfo.cs
- StringAnimationBase.cs
- BindingExpressionBase.cs
- ImportOptions.cs
- ExpandSegmentCollection.cs
- DBAsyncResult.cs
- DecoderFallback.cs
- ConfigurationManagerInternalFactory.cs
- MemberMaps.cs
- KeyFrames.cs
- DebugView.cs
- DynamicMetaObject.cs
- Compiler.cs
- SerializationSectionGroup.cs
- PrintDialog.cs
- Int32Storage.cs
- BoundingRectTracker.cs
- UseManagedPresentationElement.cs
- Visual3D.cs
- ComponentConverter.cs
- ClientConvert.cs
- RemotingConfigParser.cs
- ObjectListItemCollection.cs
- ServerIdentity.cs
- DataGridViewRowHeaderCell.cs
- C14NUtil.cs
- FileUtil.cs
- hwndwrapper.cs
- DeploymentSection.cs
- MetadataSource.cs
- WindowsSolidBrush.cs
- DbTransaction.cs
- DataColumnMappingCollection.cs
- MethodBody.cs
- CaseCqlBlock.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- HtmlAnchor.cs
- DiscoveryEndpoint.cs
- NTAccount.cs
- GenericTypeParameterBuilder.cs
- CodeDirectionExpression.cs
- EncodingTable.cs
- SerializationInfoEnumerator.cs
- XmlBinaryWriterSession.cs
- XPathNodePointer.cs
- SignedInfo.cs
- ReaderOutput.cs
- ScrollChrome.cs
- ConnectionPointCookie.cs
- StringArrayConverter.cs
- WindowsGraphicsWrapper.cs
- NotConverter.cs
- PersonalizationStateQuery.cs
- ParseElementCollection.cs
- SerializerProvider.cs
- MultipartIdentifier.cs
- LineProperties.cs
- CheckBoxFlatAdapter.cs
- ConfigPathUtility.cs
- MethodBody.cs
- MethodBody.cs
- FieldToken.cs
- UTF32Encoding.cs
- CqlIdentifiers.cs
- ResourcePart.cs
- InheritedPropertyChangedEventArgs.cs
- ListBox.cs
- DecimalStorage.cs
- DbDeleteCommandTree.cs
- SymbolMethod.cs
- ServiceModelConfigurationSectionCollection.cs