IVsContainedLanguageProjectNameProvider.GetProjectName, méthode
Espace de noms : Microsoft.VisualStudio.TextManager.Interop
Assembly : Microsoft.VisualStudio.TextManager.Interop.8.0 (dans Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntaxe
'Déclaration
Function GetProjectName ( _
itemid As UInteger, _
<OutAttribute> ByRef pbstrProjectName As String _
) As Integer
int GetProjectName(
uint itemid,
out string pbstrProjectName
)
int GetProjectName(
[InAttribute] unsigned int itemid,
[OutAttribute] String^% pbstrProjectName
)
abstract GetProjectName :
itemid:uint32 *
pbstrProjectName:string byref -> int
function GetProjectName(
itemid : uint,
pbstrProjectName : String
) : int
Paramètres
- itemid
Type : UInt32
- pbstrProjectName
Type : String%
Valeur de retour
Type : Int32
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.