Share via


DataParameter.GetIsOptionalCore Method

Retrieves a Boolean value indicating whether the parameter is optional.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Overridable Function GetIsOptionalCore As Boolean
protected virtual bool GetIsOptionalCore()
protected:
virtual bool GetIsOptionalCore()
abstract GetIsOptionalCore : unit -> bool  
override GetIsOptionalCore : unit -> bool
protected function GetIsOptionalCore() : boolean

Return Value

Type: System.Boolean
true if the parameter is optional; otherwise, false.

Remarks

This method is called by the implementation of the IsOptional property.

Notes to Inheritors

The base implementation of this method returns true.

.NET Framework Security

See Also

Reference

DataParameter Class

Microsoft.VisualStudio.Data.Framework Namespace