Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a Boolean value indicating whether the current parameter is optional, provided that it is derived.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public ReadOnly Property IsOptional As Boolean
public bool IsOptional { get; }
public:
virtual property bool IsOptional {
bool get () sealed;
}
abstract IsOptional : bool with get
override IsOptional : bool with get
final function get IsOptional () : boolean
Property Value
Type: System.Boolean
true if this parameter is optional; otherwise, false.
Implements
IVsDataParameterDescriptor.IsOptional
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The parameter is not derived. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.