Freigeben über


DataReader.HasDescriptor Property

Gets a value indicating whether the data reader exposes its IVsDataReaderDescriptor implementation through the Descriptor property.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Overridable ReadOnly Property HasDescriptor As Boolean
    Get
protected virtual bool HasDescriptor { get; }
protected:
virtual property bool HasDescriptor {
    bool get ();
}
abstract HasDescriptor : bool
override HasDescriptor : bool
function get HasDescriptor () : boolean

Property Value

Type: System.Boolean
true if the data reader has the descriptor information; otherwise, false.

Remarks

A client uses the Descriptor property to get information that describes the reader. Depending on the implementation, this property could be either non-null or nulla null reference (Nothing in Visual Basic). If a derived class exposes a descriptor, its HasDescriptor property will return true and the Descriptor property will return a non-null value.

Notes to Inheritors

The base implementation of this method returns false.

.NET Framework Security

See Also

Reference

DataReader Class

Microsoft.VisualStudio.Data.Framework Namespace