BrushToColorConverter.Convert Method (Brush, Object, CultureInfo)
Converts the specified brush to a color.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Overrides Function Convert ( _
value As Brush, _
parameter As Object, _
culture As CultureInfo _
) As Color
protected override Color Convert(
Brush value,
Object parameter,
CultureInfo culture
)
protected:
virtual Color Convert(
Brush^ value,
Object^ parameter,
CultureInfo^ culture
) override
abstract Convert :
value:Brush *
parameter:Object *
culture:CultureInfo -> Color
override Convert :
value:Brush *
parameter:Object *
culture:CultureInfo -> Color
protected override function Convert(
value : Brush,
parameter : Object,
culture : CultureInfo
) : Color
Parameters
value
Type: BrushThe value of the brush.
parameter
Type: ObjectParameter used by the brush.
culture
Type: CultureInfoCulture of the brush.
Return Value
Type: Color
Returns the color of the brush.
.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.