Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a value indicating whether to add the given assembly (.NET) reference by refering to it by its strong name.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
Function CanAddAssemblyReferenceWithStrongName ( _
bstrRef As String, _
bstrAssemblyName As String _
) As Boolean
bool CanAddAssemblyReferenceWithStrongName(
string bstrRef,
string bstrAssemblyName
)
bool CanAddAssemblyReferenceWithStrongName(
[InAttribute] String^ bstrRef,
[InAttribute] String^ bstrAssemblyName
)
abstract CanAddAssemblyReferenceWithStrongName :
bstrRef:string *
bstrAssemblyName:string -> bool
function CanAddAssemblyReferenceWithStrongName(
bstrRef : String,
bstrAssemblyName : String
) : boolean
Parameters
- bstrRef
Type: System.String
A string representing the path of the assembly.
- bstrAssemblyName
Type: System.String
Strong name of the assembly.
Return Value
Type: System.Boolean
true if the assembly reference can be added, false if it cannot.
.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.