Share via


IVsUIDataSource.ResetValue Method

Sets a property to it's default value.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Function ResetValue ( _
    prop As String _
) As Integer
int ResetValue(
    string prop
)
int ResetValue(
    [InAttribute] String^ prop
)
abstract ResetValue : 
        prop:string -> int
function ResetValue(
    prop : String
) : int

Parameters

  • prop
    Type: System.String

    [in] The name of the property to reset.

Return Value

Type: System.Int32
Returns S_OK if the property was reset.

.NET Framework Security

See Also

Reference

IVsUIDataSource Interface

Microsoft.VisualStudio.Shell.Interop Namespace