共用方式為


GelDependencyObject.IVsUIDataSource.SetValue Method

Microsoft internal use only.

Sets a property to a value.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Private Function SetValue ( _
    prop As String, _
    pValue As IVsUIObject _
) As Integer Implements IVsUIDataSource.SetValue
int IVsUIDataSource.SetValue(
    string prop,
    IVsUIObject pValue
)

Parameters

Return Value

Type: System.Int32
Returns S_OK if the property was set to the value.

Implements

IVsUIDataSource.SetValue(String, IVsUIObject)

.NET Framework Security

See Also

Reference

GelDependencyObject Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace