Code:
/ FX-1434 / FX-1434 / 1.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
- Symbol.cs
- BamlLocalizabilityResolver.cs
- SiteMapPath.cs
- QueryOutputWriter.cs
- ExpressionPrefixAttribute.cs
- TrackingValidationObjectDictionary.cs
- documentation.cs
- TransformCryptoHandle.cs
- SwitchLevelAttribute.cs
- ColumnPropertiesGroup.cs
- TrustManagerMoreInformation.cs
- ChildTable.cs
- CodeExporter.cs
- ExtensionSimplifierMarkupObject.cs
- QilStrConcatenator.cs
- TransactionFlowBindingElement.cs
- X509SecurityToken.cs
- InertiaExpansionBehavior.cs
- Point4D.cs
- SecurityPolicySection.cs
- mactripleDES.cs
- RequestContext.cs
- AssemblyBuilder.cs
- DataControlImageButton.cs
- DeadCharTextComposition.cs
- FormsAuthenticationConfiguration.cs
- HttpListenerResponse.cs
- LocalFileSettingsProvider.cs
- InvokePatternIdentifiers.cs
- ContractHandle.cs
- TypeForwardedToAttribute.cs
- TrackingProfileCache.cs
- HttpRawResponse.cs
- ContractMapping.cs
- PeerNearMe.cs
- ImageSource.cs
- UnsafeNativeMethods.cs
- SafeNativeMethods.cs
- TraceUtility.cs
- CodeIdentifier.cs
- DesignerForm.cs
- EdmScalarPropertyAttribute.cs
- ClientEventManager.cs
- SQLByteStorage.cs
- CodeIterationStatement.cs
- DbProviderFactories.cs
- TableStyle.cs
- latinshape.cs
- SmtpTransport.cs
- ProcessInputEventArgs.cs
- SchemaCreator.cs
- DataServiceQuery.cs
- OrderedHashRepartitionEnumerator.cs
- WCFModelStrings.Designer.cs
- PermissionAttributes.cs
- FrameworkReadOnlyPropertyMetadata.cs
- XmlNavigatorStack.cs
- DataGridViewImageCell.cs
- ItemMap.cs
- OracleRowUpdatingEventArgs.cs
- PanelStyle.cs
- Splitter.cs
- HttpInputStream.cs
- ComponentChangingEvent.cs
- DPTypeDescriptorContext.cs
- DocumentAutomationPeer.cs
- Light.cs
- AccessibleObject.cs
- ConfigurationManagerHelperFactory.cs
- LabelTarget.cs
- DuplicateWaitObjectException.cs
- RegisterInfo.cs
- UTF7Encoding.cs
- SamlEvidence.cs
- NotImplementedException.cs
- HttpPostProtocolReflector.cs
- HandlerBase.cs
- HwndHost.cs
- ComboBox.cs
- SafeThreadHandle.cs
- HideDisabledControlAdapter.cs
- RangeValueProviderWrapper.cs
- SoundPlayerAction.cs
- FieldAccessException.cs
- Authorization.cs
- CharacterHit.cs
- ListView.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- RSAProtectedConfigurationProvider.cs
- PermissionToken.cs
- HTTPNotFoundHandler.cs
- ControlBuilder.cs
- ModuleConfigurationInfo.cs
- FixUpCollection.cs
- URLString.cs
- X500Name.cs
- HttpModuleCollection.cs
- ListBase.cs
- MulticastOption.cs
- MarshalByValueComponent.cs