IDSRefConsumer.GetProperty, méthode
Récupère la propriété du GUID et d' Variant associée au nœud spécifié.
Espace de noms : Microsoft.VisualStudio.Data.Interop
Assembly : Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)
Syntaxe
'Déclaration
Function GetProperty ( _
drnidCurr As IntPtr, _
ByRef guidProp As Guid _
) As Object
Object GetProperty(
IntPtr drnidCurr,
ref Guid guidProp
)
Object^ GetProperty(
[InAttribute] IntPtr drnidCurr,
[InAttribute] Guid% guidProp
)
abstract GetProperty :
drnidCurr:IntPtr *
guidProp:Guid byref -> Object
function GetProperty(
drnidCurr : IntPtr,
guidProp : Guid
) : Object
Paramètres
- drnidCurr
Type : System.IntPtr
[in] DSREFNODEID du nœud dont la propriété doit être récupérée.
- guidProp
Type : System.Guid%
[in] REFGUID de la propriété à récupérer.
Valeur de retour
Type : System.Object
Retourne NOERROR si l'opération a réussi.Sinon, il retourne un code non spécifié d'échec.
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, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.