Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
Get
public bool IsOptional { get; }
public:
virtual property bool IsOptional {
bool get () sealed;
}
abstract IsOptional : bool
override IsOptional : bool
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.