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
- refNode
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseReferenceNode
The reference node.
- reason
Type: System.String%
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
- 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