Returns a value indicating whether to add the given project reference by refering to it by its unique identifier.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
声明
Function CanAddProjectReferenceByIdentifier ( _
Identifier As String _
) As Boolean
用法
Dim instance As VCReferences
Dim Identifier As String
Dim returnValue As Boolean
returnValue = instance.CanAddProjectReferenceByIdentifier(Identifier)
bool CanAddProjectReferenceByIdentifier(
string Identifier
)
bool CanAddProjectReferenceByIdentifier(
[InAttribute] String^ Identifier
)
function CanAddProjectReferenceByIdentifier(
Identifier : String
) : boolean
Parameters
Identifier
Type: System.StringUnique identifier of the assembly.
Return Value
Type: System.Boolean
true if the assembly reference can be added, false if it cannot.
Permissions
- 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.