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
- refNode
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseReferenceNode
The reference node.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseProjectReferenceController Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace