共用方式為


IDatabaseProjectReferenceController.GetCaption 方法

傳回這個參考節點的標題。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Function GetCaption ( _
    refNode As IDatabaseReferenceNode _
) As String
string GetCaption(
    IDatabaseReferenceNode refNode
)
String^ GetCaption(
    IDatabaseReferenceNode^ refNode
)
abstract GetCaption : 
        refNode:IDatabaseReferenceNode -> string 
function GetCaption(
    refNode : IDatabaseReferenceNode
) : String

參數

傳回值

型別:System.String
標題。若是 null 或空白,則會使用預設標題。

備註

如果沒有提供標題,則會使用根據檔案名稱或專案名稱的預設標題。

.NET Framework 安全性

請參閱

參考

IDatabaseProjectReferenceController 介面

Microsoft.VisualStudio.Data.Schema.Package.Project 命名空間