DataViewHierarchyAccessor.SetProperty, méthode
Définit une propriété spécifiée de la hiérarchie.
Espace de noms : Microsoft.VisualStudio.Data
Assembly : Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)
Syntaxe
'Déclaration
Public Sub SetProperty ( _
itemId As Integer, _
propertyId As Integer, _
value As Object _
)
public void SetProperty(
int itemId,
int propertyId,
Object value
)
public:
void SetProperty(
int itemId,
int propertyId,
Object^ value
)
member SetProperty :
itemId:int *
propertyId:int *
value:Object -> unit
public function SetProperty(
itemId : int,
propertyId : int,
value : Object
)
Paramètres
itemId
Type : Int32Un ID d'élément
propertyId
Type : Int32Un ID de la propriété de l'énumération d' __VSHPROPID .
value
Type : ObjectValeur de la propriété.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.