Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Sets the value of a data source's property.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Shared Sub SetValue ( _
ds As IVsUIDataSource, _
prop As String, _
value As IVsUIObject _
)
'Usage
Dim ds As IVsUIDataSource
Dim prop As String
Dim value As IVsUIObject
Utilities.SetValue(ds, prop, value)
public static void SetValue(
IVsUIDataSource ds,
string prop,
IVsUIObject value
)
public:
static void SetValue(
IVsUIDataSource^ ds,
String^ prop,
IVsUIObject^ value
)
static member SetValue :
ds:IVsUIDataSource *
prop:string *
value:IVsUIObject -> unit
public static function SetValue(
ds : IVsUIDataSource,
prop : String,
value : IVsUIObject
)
Parameters
- ds
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource
Data source to query
- prop
Type: System.String
Property to be returned
- value
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
New value for the property
Remarks
This function doesn't provide much value on its own, but prevents the more generic overload of SetValue from trying to wrap an IVsUIObject in a BuiltInPropertyValue.
.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.