Delen via


IDatabaseProjectReferenceController.IsValidReference Method

Returns true if this is a valid reference.

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

Syntax

'Declaration
Function IsValidReference ( _
    refNode As IDatabaseReferenceNode, _
    <OutAttribute> ByRef reason As String _
) As Boolean
bool IsValidReference(
    IDatabaseReferenceNode refNode,
    out string reason
)
bool IsValidReference(
    IDatabaseReferenceNode^ refNode, 
    [OutAttribute] String^% reason
)
abstract IsValidReference : 
        refNode:IDatabaseReferenceNode * 
        reason:string byref -> bool 
function IsValidReference(
    refNode : IDatabaseReferenceNode, 
    reason : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the reference is valid and shows the default icon for this type.

Remarks

If the reference is valid, the project system shows the default icon for this reference and the task host loads this reference into the model.

.NET Framework Security

See Also

Reference

IDatabaseProjectReferenceController Interface

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