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
- prop
Type: System.String
- pValue
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.