命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
语法
声明
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
参数
- itemid
类型:UInt32
- pbstrProjectName
类型:String%
返回值
类型:Int32
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。