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
- prop
Type: System.String
[in] The name of the property.
- pValue
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
[in] An object containing the value to set.
Return Value
Type: System.Int32
Returns S_OK if the property was set to the value.
Implements
IVsUIDataSource.SetValue(String, IVsUIObject)
.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.