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
- ErasingStroke.cs
- WinInet.cs
- SetState.cs
- XmlSortKey.cs
- BreakRecordTable.cs
- NavigatorInput.cs
- GeometryGroup.cs
- EdmFunctionAttribute.cs
- KeyEvent.cs
- CannotUnloadAppDomainException.cs
- mansign.cs
- RegexBoyerMoore.cs
- ElementFactory.cs
- MatrixTransform.cs
- StylusCaptureWithinProperty.cs
- SafeArrayTypeMismatchException.cs
- ContentHostHelper.cs
- BitmapEffectDrawing.cs
- GlobalProxySelection.cs
- LazyTextWriterCreator.cs
- WizardPanel.cs
- ResourceSetExpression.cs
- _WebProxyDataBuilder.cs
- KerberosSecurityTokenProvider.cs
- XPathBinder.cs
- IInstanceTable.cs
- EnumValAlphaComparer.cs
- tibetanshape.cs
- UserControlCodeDomTreeGenerator.cs
- RenderTargetBitmap.cs
- PrintingPermission.cs
- SimplePropertyEntry.cs
- Privilege.cs
- COSERVERINFO.cs
- QuadraticBezierSegment.cs
- RemotingConfigParser.cs
- OdbcUtils.cs
- SettingsPropertyWrongTypeException.cs
- EmptyWithCancelationCheckWorkItem.cs
- RawStylusActions.cs
- OdbcHandle.cs
- CaretElement.cs
- FrugalList.cs
- Process.cs
- SafeUserTokenHandle.cs
- DockPanel.cs
- WorkflowInstanceExtensionProvider.cs
- QilIterator.cs
- GenerateScriptTypeAttribute.cs
- SharedStatics.cs
- EnlistmentState.cs
- DefaultPropertyAttribute.cs
- SecureUICommand.cs
- WithParamAction.cs
- FixedDocumentSequencePaginator.cs
- SubclassTypeValidatorAttribute.cs
- ServiceOperationInvoker.cs
- DragStartedEventArgs.cs
- dtdvalidator.cs
- ProxyManager.cs
- AppDomainAttributes.cs
- DataGridHeaderBorder.cs
- TreeNodeSelectionProcessor.cs
- DataTable.cs
- WorkflowDefinitionDispenser.cs
- XmlCodeExporter.cs
- Win32Native.cs
- ArrayItemReference.cs
- DataGridViewCellStateChangedEventArgs.cs
- MenuItemAutomationPeer.cs
- VariableAction.cs
- UrlMapping.cs
- TraceContextEventArgs.cs
- DataControlExtensions.cs
- RenderDataDrawingContext.cs
- OleDbParameterCollection.cs
- XmlProcessingInstruction.cs
- DesignerTransactionCloseEvent.cs
- MetricEntry.cs
- GridView.cs
- PeerCustomResolverSettings.cs
- ContentType.cs
- ScriptReference.cs
- NativeMethods.cs
- BezierSegment.cs
- MessageQueueConverter.cs
- SemanticResolver.cs
- HTTPNotFoundHandler.cs
- OleDbCommand.cs
- UnaryNode.cs
- CompilationPass2TaskInternal.cs
- XmlBoundElement.cs
- ScriptControlManager.cs
- NativeRecognizer.cs
- DataColumnMapping.cs
- RemoteWebConfigurationHostServer.cs
- sqlpipe.cs
- SHA1CryptoServiceProvider.cs
- LineProperties.cs
- CodeIdentifiers.cs