UIDataSource.AddUnknownProperty Method
Add a named property to the data source and set it as being of type VsUIType.Unknown.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Sub AddUnknownProperty ( _
name As String, _
value As Object _
)
'Utilisation
Dim instance As UIDataSource
Dim name As String
Dim value As Object
instance.AddUnknownProperty(name, value)
public void AddUnknownProperty(
string name,
Object value
)
public:
void AddUnknownProperty(
String^ name,
Object^ value
)
member AddUnknownProperty :
name:string *
value:Object -> unit
public function AddUnknownProperty(
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.