Partager via


IVsUIDataSource.GetValue Method

Returns the value of a property.

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

Syntax

'Declaration
Function GetValue ( _
    prop As String, _
    <OutAttribute> ByRef ppValue As IVsUIObject _
) As Integer
int GetValue(
    string prop,
    out IVsUIObject ppValue
)
int GetValue(
    [InAttribute] String^ prop, 
    [OutAttribute] IVsUIObject^% ppValue
)
abstract GetValue : 
        prop:string * 
        ppValue:IVsUIObject byref -> int
function GetValue(
    prop : String, 
    ppValue : IVsUIObject
) : int

Parameters

  • prop
    Type: String

    [in] The name of the property to return.

Return Value

Type: Int32
Returns S_OK if the value was returned.

.NET Framework Security

See Also

Reference

IVsUIDataSource Interface

Microsoft.VisualStudio.Shell.Interop Namespace