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
- MenuStrip.cs
- ValidationPropertyAttribute.cs
- DeviceSpecific.cs
- DockingAttribute.cs
- WmlControlAdapter.cs
- NativeMethods.cs
- DataBoundControlActionList.cs
- Decoder.cs
- ReflectionTypeLoadException.cs
- FaultFormatter.cs
- WaitHandle.cs
- Opcode.cs
- PropertyGeneratedEventArgs.cs
- PersonalizationStateQuery.cs
- loginstatus.cs
- SQLDoubleStorage.cs
- FixedSOMContainer.cs
- Convert.cs
- XMLSchema.cs
- QuaternionAnimationBase.cs
- XmlName.cs
- Unit.cs
- SettingsContext.cs
- DocumentScope.cs
- InvariantComparer.cs
- MarkupCompilePass1.cs
- MarkupCompilePass1.cs
- Graphics.cs
- ExceptionCollection.cs
- Double.cs
- HttpProfileGroupBase.cs
- Math.cs
- SchemaImporter.cs
- UpdateException.cs
- Int64.cs
- FileLevelControlBuilderAttribute.cs
- X509CertificateValidator.cs
- EndEvent.cs
- IconConverter.cs
- Directory.cs
- BinaryFormatter.cs
- HttpCachePolicy.cs
- MultipleViewPattern.cs
- SpecialNameAttribute.cs
- SqlMethodCallConverter.cs
- EventLogTraceListener.cs
- FixedSOMPageConstructor.cs
- RegexCapture.cs
- Span.cs
- LineSegment.cs
- Win32MouseDevice.cs
- _LazyAsyncResult.cs
- CqlParserHelpers.cs
- RuleSettingsCollection.cs
- ServiceChannelManager.cs
- FunctionNode.cs
- HostExecutionContextManager.cs
- HandledMouseEvent.cs
- HtmlControlPersistable.cs
- IRCollection.cs
- HiddenField.cs
- Error.cs
- ExceptionWrapper.cs
- Accessors.cs
- WorkflowInstanceExtensionCollection.cs
- SequenceFullException.cs
- ActivityExecutionContext.cs
- DataRecordInfo.cs
- AdapterDictionary.cs
- InfoCardAsymmetricCrypto.cs
- ConditionCollection.cs
- ObjectHelper.cs
- Effect.cs
- CollectionViewGroupInternal.cs
- RegexReplacement.cs
- TextLine.cs
- TimeSpanStorage.cs
- ElementAction.cs
- AssemblyCacheEntry.cs
- RegexFCD.cs
- ListBindingHelper.cs
- Accessible.cs
- FrameSecurityDescriptor.cs
- WindowsPen.cs
- BitmapEffectGeneralTransform.cs
- ZipFileInfoCollection.cs
- SettingsPropertyValueCollection.cs
- HttpListenerRequestTraceRecord.cs
- CharEntityEncoderFallback.cs
- BufferedGraphicsManager.cs
- SharedStatics.cs
- EntityObject.cs
- HtmlInputCheckBox.cs
- UnsafeNativeMethods.cs
- AesCryptoServiceProvider.cs
- PostBackOptions.cs
- XmlDocumentSerializer.cs
- KeyToListMap.cs
- GradientStop.cs
- StorageMappingItemLoader.cs