DataParameter.HasDescriptor 属性

获取指示数据参数的值是否通过其 Descriptor 属性公开 IVsDataParameterDescriptor 实现。

命名空间:  Microsoft.VisualStudio.Data.Framework
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
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

属性值

类型:Boolean
true 数据,则参数的类型信息;否则,返回 false。

备注

客户端使用 Descriptor 属性获取描述参数的信息。 根据实现,此属性可为非 null 或 nullnull 引用(在 Visual Basic 中为 Nothing)。 如果派生类公开描述符,其 HasDescriptor 属性将返回 true,并且 Descriptor 属性将返回非 null 值。

对继承者的说明

此方法的基本实现返回 false。

.NET Framework 安全性

请参阅

参考

DataParameter 类

Microsoft.VisualStudio.Data.Framework 命名空间

IVsDataParameterDescriptor