共用方式為


IVsDataParameterDescriptor.IsOptional 屬性

取得表示資料參數是否為選擇性參數。

命名空間:  Microsoft.VisualStudio.Data.Services.SupportEntities
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
ReadOnly Property IsOptional As Boolean
bool IsOptional { get; }
property bool IsOptional {
    bool get ();
}
abstract IsOptional : bool with get
function get IsOptional () : boolean

屬性值

類型:Boolean
true ,則資料參數是選擇性參數,否則, false。

.NET Framework 安全性

請參閱

參考

IVsDataParameterDescriptor 介面

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間