IDatabaseReferenceNode.IsReferenceValid 方法
如果引用无效,则返回 false。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Function IsReferenceValid ( _
<OutAttribute> ByRef reason As String _
) As Boolean
bool IsReferenceValid(
out string reason
)
bool IsReferenceValid(
[OutAttribute] String^% reason
)
abstract IsReferenceValid :
reason:string byref -> bool
function IsReferenceValid(
reason : String
) : boolean
参数
- reason
类型:System.String%
如果引用无效,则这是原因。
返回值
类型:System.Boolean
如果引用有效,则为 true。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。