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
- EffectiveValueEntry.cs
- MemberCollection.cs
- Tool.cs
- ProfilePropertySettings.cs
- relpropertyhelper.cs
- ValueSerializerAttribute.cs
- RequestQueue.cs
- DbParameterCollectionHelper.cs
- RelationalExpressions.cs
- activationcontext.cs
- XsdBuildProvider.cs
- StringFunctions.cs
- DataServiceRequest.cs
- AuthenticationSection.cs
- ValidationEventArgs.cs
- Vector3DAnimationUsingKeyFrames.cs
- SchemaDeclBase.cs
- ManipulationDelta.cs
- CFStream.cs
- RequestCacheManager.cs
- HostDesigntimeLicenseContext.cs
- TypeLoadException.cs
- InstanceKey.cs
- DetailsViewModeEventArgs.cs
- FileRecordSequenceCompletedAsyncResult.cs
- ObjectListItem.cs
- RayHitTestParameters.cs
- CompiledELinqQueryState.cs
- ImmutablePropertyDescriptorGridEntry.cs
- WebRequestModuleElementCollection.cs
- Win32PrintDialog.cs
- DataSourceXmlSubItemAttribute.cs
- Exceptions.cs
- CurrentChangingEventArgs.cs
- ScrollProviderWrapper.cs
- OracleRowUpdatingEventArgs.cs
- _SpnDictionary.cs
- WebPartHelpVerb.cs
- Expression.cs
- uribuilder.cs
- CustomTypeDescriptor.cs
- TextServicesProperty.cs
- ResourceReferenceKeyNotFoundException.cs
- IdentitySection.cs
- XmlDownloadManager.cs
- DocumentGridContextMenu.cs
- KeyProperty.cs
- TabletDevice.cs
- regiisutil.cs
- DataListCommandEventArgs.cs
- NegationPusher.cs
- ChangeConflicts.cs
- HtmlControlPersistable.cs
- Parser.cs
- MailAddress.cs
- SystemColorTracker.cs
- RawStylusInputCustomDataList.cs
- ActivityScheduledRecord.cs
- FrameDimension.cs
- MouseWheelEventArgs.cs
- DataGridViewColumnConverter.cs
- OrderByBuilder.cs
- AppSettingsExpressionBuilder.cs
- ExpressionParser.cs
- SrgsNameValueTag.cs
- PixelFormat.cs
- Sentence.cs
- BuilderPropertyEntry.cs
- sqlinternaltransaction.cs
- ObjectAnimationBase.cs
- AppDomainUnloadedException.cs
- ThreadAbortException.cs
- TextSpan.cs
- TdsEnums.cs
- UnsafeMethods.cs
- HandlerFactoryWrapper.cs
- messageonlyhwndwrapper.cs
- RenderTargetBitmap.cs
- CodeIdentifier.cs
- cache.cs
- XmlSchemaGroup.cs
- SchemaDeclBase.cs
- CSharpCodeProvider.cs
- SoapCodeExporter.cs
- MSAAEventDispatcher.cs
- HashJoinQueryOperatorEnumerator.cs
- ISessionStateStore.cs
- TextProviderWrapper.cs
- WindowsEditBox.cs
- EntityDesignerUtils.cs
- FixedPageStructure.cs
- PrimitiveType.cs
- ArgumentNullException.cs
- NamespaceImport.cs
- XmlElementAttributes.cs
- RegistrySecurity.cs
- Rules.cs
- HostingEnvironmentException.cs
- TextTabProperties.cs
- LostFocusEventManager.cs