UIDataSource.AddBuiltInProperty Method
Add a named property to the data source and initialize it with a value of the appropriate built-in type.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub AddBuiltInProperty ( _
name As String, _
value As Object _
)
'Utilisation
Dim instance As UIDataSource
Dim name As String
Dim value As Object
instance.AddBuiltInProperty(name, value)
public void AddBuiltInProperty(
string name,
Object value
)
public:
void AddBuiltInProperty(
String^ name,
Object^ value
)
member AddBuiltInProperty :
name:string *
value:Object -> unit
public function AddBuiltInProperty(
name : String,
value : Object
)
Parameters
- name
Type: System.String
Name of the new property
- value
Type: System.Object
Initial 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.