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
- VisualBrush.cs
- compensatingcollection.cs
- SafeCoTaskMem.cs
- Parser.cs
- Attributes.cs
- WebUtil.cs
- EditorPartCollection.cs
- ValidationError.cs
- HtmlTableCell.cs
- Converter.cs
- ReflectionServiceProvider.cs
- ToolStripPanelSelectionGlyph.cs
- ConfigurationPermission.cs
- MapPathBasedVirtualPathProvider.cs
- XmlSchemaChoice.cs
- BadImageFormatException.cs
- DataServiceKeyAttribute.cs
- CounterSample.cs
- DataGridViewTopLeftHeaderCell.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- _ChunkParse.cs
- UnsafeNativeMethods.cs
- Transactions.cs
- PersonalizationDictionary.cs
- RectangleConverter.cs
- ControlPropertyNameConverter.cs
- SiteMapSection.cs
- ThreadStateException.cs
- ColorContext.cs
- IdentityNotMappedException.cs
- DataGrid.cs
- WebPartCatalogCloseVerb.cs
- regiisutil.cs
- GlyphInfoList.cs
- XmlEntityReference.cs
- PolicyImporterElementCollection.cs
- ConfigUtil.cs
- FontEditor.cs
- ComponentRenameEvent.cs
- VirtualStackFrame.cs
- SqlTriggerAttribute.cs
- DoubleUtil.cs
- ControlBuilderAttribute.cs
- sortedlist.cs
- UserControlCodeDomTreeGenerator.cs
- SqlTriggerContext.cs
- XmlBinaryReader.cs
- BamlResourceSerializer.cs
- HwndMouseInputProvider.cs
- KnownTypesHelper.cs
- ProgressBarAutomationPeer.cs
- ListCollectionView.cs
- ObjectQuery_EntitySqlExtensions.cs
- LinkClickEvent.cs
- PrintController.cs
- CircleHotSpot.cs
- DataGridViewCellParsingEventArgs.cs
- ConditionChanges.cs
- ETagAttribute.cs
- SQLDecimalStorage.cs
- JournalEntryStack.cs
- LicenseProviderAttribute.cs
- AvtEvent.cs
- StorageScalarPropertyMapping.cs
- CombinedGeometry.cs
- SparseMemoryStream.cs
- ListBase.cs
- GeometryModel3D.cs
- ClientSponsor.cs
- _Connection.cs
- QilReference.cs
- TextReader.cs
- AssemblyBuilder.cs
- ModuleBuilderData.cs
- RangeValueProviderWrapper.cs
- ReturnEventArgs.cs
- TemplateInstanceAttribute.cs
- FrugalMap.cs
- DataGridViewCellConverter.cs
- FocusWithinProperty.cs
- NamespaceInfo.cs
- AnchorEditor.cs
- ListDictionaryInternal.cs
- GridEntry.cs
- AstNode.cs
- TemplateColumn.cs
- Renderer.cs
- ModelItemImpl.cs
- SettingsPropertyValue.cs
- XmlTextReaderImpl.cs
- DisableDpiAwarenessAttribute.cs
- DiscriminatorMap.cs
- ResourceManagerWrapper.cs
- RepeaterItemEventArgs.cs
- SoapHelper.cs
- BatchStream.cs
- DiffuseMaterial.cs
- HttpSessionStateWrapper.cs
- FamilyCollection.cs
- ResolveResponse.cs