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