IDatabaseProjectReferenceController.GetCaption Method

Returns the caption for this reference node.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: System.String
The caption. If null or empty, the default caption will be used.

Remarks

If no caption is provided, a default caption based on the file name or project name will be used.

.NET Framework Security

See Also

Reference

IDatabaseProjectReferenceController Interface

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace