共用方式為


IVsUIDataSource.SetValue Method

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

Syntax

'宣告
Function SetValue ( _
    prop As String, _
    pValue As IVsUIObject _
) As Integer
'用途
Dim instance As IVsUIDataSource
Dim prop As String
Dim pValue As IVsUIObject
Dim returnValue As Integer

returnValue = instance.SetValue(prop, _
    pValue)
int SetValue(
    string prop,
    IVsUIObject pValue
)
int SetValue(
    [InAttribute] String^ prop, 
    [InAttribute] IVsUIObject^ pValue
)
abstract SetValue : 
        prop:string * 
        pValue:IVsUIObject -> int 
function SetValue(
    prop : String, 
    pValue : IVsUIObject
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsUIDataSource Interface

IVsUIDataSource Members

Microsoft.VisualStudio.Shell.Interop Namespace