Compartir a través de


DataParameter.HasDescriptor Property

Gets a value indicating whether the data parameter exposes its IVsDataParameterDescriptor 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
protected virtual bool HasDescriptor { get; }
protected:
virtual property bool HasDescriptor {
    bool get ();
}
abstract HasDescriptor : bool with get 
override HasDescriptor : bool with get
function get HasDescriptor () : boolean

Property Value

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

Remarks

A client uses the Descriptor property to get information that describes the parameter. 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

DataParameter Class

Microsoft.VisualStudio.Data.Framework Namespace

IVsDataParameterDescriptor