Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / XmlDocumentFieldSchema.cs / 1 / XmlDocumentFieldSchema.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design { using System.Collections; using System.Diagnostics; using System.Xml; using System.Xml.XPath; ////// A class to expose hierarchical schema from an XmlDocument object. /// This is used by data source designers to enable data-bound to /// traverse their schema at design time. /// internal sealed class XmlDocumentFieldSchema : IDataSourceFieldSchema { private string _name; public XmlDocumentFieldSchema(string name) { Debug.Assert(name != null && name.Length > 0); _name = name; } public Type DataType { get { return typeof(string); } } public bool Identity { get { return false; } } public bool IsReadOnly { get { return false; } } public bool IsUnique { get { return false; } } public int Length { get { return -1; } } public string Name { get { return _name; } } public bool Nullable { get { return true; } } public int Precision { get { return -1; } } public bool PrimaryKey { get { return false; } } public int Scale { get { return -1; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _LoggingObject.cs
- _SSPIWrapper.cs
- TextBlock.cs
- InvalidComObjectException.cs
- DataControlCommands.cs
- shaper.cs
- IssuanceTokenProviderBase.cs
- ProcessModuleCollection.cs
- XmlnsPrefixAttribute.cs
- SR.cs
- FormCollection.cs
- TemplateControlParser.cs
- SerializationInfo.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- Subtree.cs
- Calendar.cs
- CancellationScope.cs
- GridViewColumn.cs
- Content.cs
- DataObjectCopyingEventArgs.cs
- VirtualPath.cs
- LicenseProviderAttribute.cs
- XmlLanguage.cs
- WebEventTraceProvider.cs
- VectorAnimationUsingKeyFrames.cs
- ListSourceHelper.cs
- EncodedStreamFactory.cs
- CompilerCollection.cs
- TraceContextEventArgs.cs
- RuleAction.cs
- DynamicValueConverter.cs
- AuditLevel.cs
- NativeMethods.cs
- ProfileService.cs
- Separator.cs
- DecoderNLS.cs
- DataGridLinkButton.cs
- ZipFileInfoCollection.cs
- XamlVector3DCollectionSerializer.cs
- LockCookie.cs
- _UncName.cs
- TempEnvironment.cs
- MultipartContentParser.cs
- HostedTransportConfigurationBase.cs
- DoubleCollectionValueSerializer.cs
- handlecollector.cs
- HttpPostedFile.cs
- DataContext.cs
- TextBox.cs
- CompoundFileStorageReference.cs
- SupportingTokenBindingElement.cs
- PipeStream.cs
- KnownColorTable.cs
- M3DUtil.cs
- EllipseGeometry.cs
- PathSegmentCollection.cs
- DynamicValidatorEventArgs.cs
- FormViewRow.cs
- AdapterUtil.cs
- DynamicFilterExpression.cs
- NTAccount.cs
- TextOptionsInternal.cs
- StringSorter.cs
- RootBrowserWindowProxy.cs
- RecognizerBase.cs
- XmlToDatasetMap.cs
- ObjectReferenceStack.cs
- bidPrivateBase.cs
- RuleInfoComparer.cs
- AuthenticationService.cs
- MultiViewDesigner.cs
- DetailsViewRowCollection.cs
- RenderingEventArgs.cs
- MailWriter.cs
- LogWriteRestartAreaState.cs
- InstancePersistenceCommandException.cs
- ItemDragEvent.cs
- RegexInterpreter.cs
- ActivationArguments.cs
- Ipv6Element.cs
- WrappingXamlSchemaContext.cs
- ExtensionDataReader.cs
- DynamicPropertyReader.cs
- MembershipUser.cs
- DependencyPropertyConverter.cs
- DecimalConverter.cs
- Tuple.cs
- Listbox.cs
- InvokeGenerator.cs
- BufferedReadStream.cs
- Parallel.cs
- ConfigurationLocationCollection.cs
- DbProviderManifest.cs
- DrawingVisualDrawingContext.cs
- XmlCDATASection.cs
- MethodCallExpression.cs
- HostingPreferredMapPath.cs
- DocumentsTrace.cs
- SelectionList.cs
- ClientSettingsProvider.cs