UIDataSource.SetValue Method (String, Object)
Type-friendly wrapper around IVsUIDataSource.SetValue
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub SetValue ( _
prop As String, _
newValue As Object _
)
'Utilisation
Dim instance As UIDataSource
Dim prop As String
Dim newValue As Object
instance.SetValue(prop, newValue)
public void SetValue(
string prop,
Object newValue
)
public:
void SetValue(
String^ prop,
Object^ newValue
)
member SetValue :
prop:string *
newValue:Object -> unit
public function SetValue(
prop : String,
newValue : Object
)
Parameters
- prop
Type: System.String
Property name
- newValue
Type: System.Object
New value for the property
.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.