Code:
/ DotNET / DotNET / 8.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
- SiteMapNodeCollection.cs
- BinaryConverter.cs
- OptimalBreakSession.cs
- DataExpression.cs
- BroadcastEventHelper.cs
- EditingCommands.cs
- MemberInitExpression.cs
- RepeatInfo.cs
- SiteMapPath.cs
- RSAProtectedConfigurationProvider.cs
- DataGrid.cs
- XmlProcessingInstruction.cs
- TrimSurroundingWhitespaceAttribute.cs
- HtmlTitle.cs
- UnknownBitmapDecoder.cs
- activationcontext.cs
- TextLineBreak.cs
- FileDetails.cs
- CheckedPointers.cs
- StringAnimationBase.cs
- XmlSignatureProperties.cs
- ResourceContainer.cs
- FileDialog.cs
- CollectionView.cs
- NamespaceInfo.cs
- LinqDataSourceDisposeEventArgs.cs
- ProfessionalColors.cs
- DataPagerField.cs
- ChannelTerminatedException.cs
- SafeCryptoHandles.cs
- InvalidOleVariantTypeException.cs
- StateDesigner.Helpers.cs
- HMACMD5.cs
- CacheSection.cs
- InfoCardService.cs
- BinaryMessageEncoder.cs
- Base64Stream.cs
- TrackBarRenderer.cs
- SlipBehavior.cs
- ProbeMatches11.cs
- VectorKeyFrameCollection.cs
- FrameworkPropertyMetadata.cs
- JapaneseLunisolarCalendar.cs
- NotCondition.cs
- PreviewKeyDownEventArgs.cs
- ProtocolsInstallComponent.cs
- RenderContext.cs
- TypeGeneratedEventArgs.cs
- PropertyPushdownHelper.cs
- ToolTipAutomationPeer.cs
- DragEvent.cs
- WebPartConnectionsCancelEventArgs.cs
- WeakHashtable.cs
- UserPreference.cs
- DesignDataSource.cs
- RecognizedWordUnit.cs
- Freezable.cs
- ImageMap.cs
- UpDownEvent.cs
- CurrencyManager.cs
- ChannelSinkStacks.cs
- NumericUpDownAccelerationCollection.cs
- XmlElement.cs
- FieldAccessException.cs
- ClaimTypeElement.cs
- AsyncPostBackTrigger.cs
- SafeProcessHandle.cs
- Atom10FormatterFactory.cs
- ExpressionBuilderCollection.cs
- WindowProviderWrapper.cs
- TypeNameConverter.cs
- DbInsertCommandTree.cs
- SqlCacheDependencyDatabaseCollection.cs
- UnsafeNativeMethods.cs
- TimeSpan.cs
- ReadOnlyCollectionBase.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- ConnectorEditor.cs
- TreeNodeBindingCollection.cs
- CompiledRegexRunnerFactory.cs
- CharacterMetrics.cs
- UnsafeNetInfoNativeMethods.cs
- InkCanvas.cs
- TextCompositionManager.cs
- DataGridViewRowsAddedEventArgs.cs
- DataListGeneralPage.cs
- TablePattern.cs
- CDSCollectionETWBCLProvider.cs
- HttpCacheVary.cs
- EntityDataReader.cs
- VirtualizingPanel.cs
- SettingsPropertyWrongTypeException.cs
- Vector3DConverter.cs
- ParameterToken.cs
- PaintEvent.cs
- ContractNamespaceAttribute.cs
- DecoratedNameAttribute.cs
- DeploymentExceptionMapper.cs
- RowCache.cs
- HelpKeywordAttribute.cs