Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves the display name of the specified target framework moniker.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function GetDisplayNameForTargetFx ( _
pwszTargetFrameworkMoniker As String, _
<OutAttribute> ByRef pbstrDisplayName As String _
) As Integer
int GetDisplayNameForTargetFx(
string pwszTargetFrameworkMoniker,
out string pbstrDisplayName
)
int GetDisplayNameForTargetFx(
[InAttribute] String^ pwszTargetFrameworkMoniker,
[OutAttribute] String^% pbstrDisplayName
)
abstract GetDisplayNameForTargetFx :
pwszTargetFrameworkMoniker:string *
pbstrDisplayName:string byref -> int
function GetDisplayNameForTargetFx(
pwszTargetFrameworkMoniker : String,
pbstrDisplayName : String
) : int
Parameters
pwszTargetFrameworkMoniker
Type: System.String[in] The target framework moniker to use to get the display name.
pbstrDisplayName
Type: System.String%[out, retval] The display name of the target framework.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.