Share via


RolePlayerComboCell.GetFormattedValue Method

Format the value

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Protected Overrides Function GetFormattedValue ( _
    value As Object, _
    rowIndex As Integer, _
    ByRef cellStyle As DataGridViewCellStyle, _
    valueTypeConverter As TypeConverter, _
    formattedValueTypeConverter As TypeConverter, _
    context As DataGridViewDataErrorContexts _
) As Object
protected override Object GetFormattedValue(
    Object value,
    int rowIndex,
    ref DataGridViewCellStyle cellStyle,
    TypeConverter valueTypeConverter,
    TypeConverter formattedValueTypeConverter,
    DataGridViewDataErrorContexts context
)
protected:
virtual Object^ GetFormattedValue(
    Object^ value, 
    int rowIndex, 
    DataGridViewCellStyle^% cellStyle, 
    TypeConverter^ valueTypeConverter, 
    TypeConverter^ formattedValueTypeConverter, 
    DataGridViewDataErrorContexts context
) override
abstract GetFormattedValue : 
        value:Object * 
        rowIndex:int * 
        cellStyle:DataGridViewCellStyle byref * 
        valueTypeConverter:TypeConverter * 
        formattedValueTypeConverter:TypeConverter * 
        context:DataGridViewDataErrorContexts -> Object  
override GetFormattedValue : 
        value:Object * 
        rowIndex:int * 
        cellStyle:DataGridViewCellStyle byref * 
        valueTypeConverter:TypeConverter * 
        formattedValueTypeConverter:TypeConverter * 
        context:DataGridViewDataErrorContexts -> Object
protected override function GetFormattedValue(
    value : Object, 
    rowIndex : int, 
    cellStyle : DataGridViewCellStyle, 
    valueTypeConverter : TypeConverter, 
    formattedValueTypeConverter : TypeConverter, 
    context : DataGridViewDataErrorContexts
) : Object

Parameters

  • value
    Type: Object
  • rowIndex
    Type: Int32
  • cellStyle
    Type: DataGridViewCellStyle%
  • valueTypeConverter
    Type: TypeConverter
  • formattedValueTypeConverter
    Type: TypeConverter
  • context
    Type: DataGridViewDataErrorContexts

Return Value

Type: Object

.NET Framework Security

See Also

Reference

RolePlayerComboCell Class

Microsoft.VisualStudio.Modeling.Design Namespace