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
- SectionXmlInfo.cs
- TypeInitializationException.cs
- PerformanceCounterPermissionEntryCollection.cs
- HttpWebResponse.cs
- Underline.cs
- StateChangeEvent.cs
- CheckPair.cs
- CategoryNameCollection.cs
- ValidationSummary.cs
- InfoCardBaseException.cs
- MethodBody.cs
- TreeNodeSelectionProcessor.cs
- StringValidator.cs
- SwitchElementsCollection.cs
- _NegoStream.cs
- PkcsMisc.cs
- SourceElementsCollection.cs
- ListDictionary.cs
- FileStream.cs
- MessageBodyMemberAttribute.cs
- TransformerConfigurationWizardBase.cs
- PasswordDeriveBytes.cs
- XmlAttributeAttribute.cs
- Rect3DValueSerializer.cs
- WebPartZoneCollection.cs
- precedingsibling.cs
- GridViewRow.cs
- XslUrlEditor.cs
- DataObjectMethodAttribute.cs
- OutputCacheSettingsSection.cs
- BackgroundWorker.cs
- NativeBuffer.cs
- TaskScheduler.cs
- NullableDoubleAverageAggregationOperator.cs
- ColorTranslator.cs
- util.cs
- HttpModulesSection.cs
- UICuesEvent.cs
- VScrollProperties.cs
- ProxyAttribute.cs
- ListViewTableRow.cs
- MemoryPressure.cs
- RootProfilePropertySettingsCollection.cs
- XmlSchemaImporter.cs
- BrushMappingModeValidation.cs
- RootProfilePropertySettingsCollection.cs
- SqlCaseSimplifier.cs
- NativeMethods.cs
- DictionaryGlobals.cs
- RichTextBoxAutomationPeer.cs
- AttributeData.cs
- ServiceNotStartedException.cs
- URLAttribute.cs
- WebSysDescriptionAttribute.cs
- HScrollBar.cs
- UIHelper.cs
- infer.cs
- SoapRpcServiceAttribute.cs
- COM2Properties.cs
- TransformGroup.cs
- CreateUserWizardDesigner.cs
- SymmetricAlgorithm.cs
- HttpHandlersSection.cs
- XPathException.cs
- BindingCompleteEventArgs.cs
- XmlText.cs
- FormViewDesigner.cs
- WebDescriptionAttribute.cs
- ProcessManager.cs
- SqlUtil.cs
- ObjectNotFoundException.cs
- Keyboard.cs
- EnumerableRowCollectionExtensions.cs
- ColorPalette.cs
- XmlSchemaSimpleContentExtension.cs
- XmlSchemaFacet.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- HelpHtmlBuilder.cs
- TreeWalkHelper.cs
- TaskFileService.cs
- DictionaryTraceRecord.cs
- XmlElement.cs
- TextRangeEditTables.cs
- DataSysAttribute.cs
- ClientRoleProvider.cs
- Vector3DCollectionValueSerializer.cs
- MSG.cs
- XmlSchemaSubstitutionGroup.cs
- TileBrush.cs
- BitVec.cs
- XmlParserContext.cs
- EmbeddedMailObjectsCollection.cs
- ObjectAnimationUsingKeyFrames.cs
- DescendantOverDescendantQuery.cs
- EdmProviderManifest.cs
- LinqDataSourceSelectEventArgs.cs
- ElementAtQueryOperator.cs
- XmlSchemaAny.cs
- Button.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs