Dela via


IVsProfileSettingsFileInfo.GetFriendlyName Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetFriendlyName ( _
    <OutAttribute> ByRef pbstrFriendlyName As String _
) As Integer
int GetFriendlyName(
    out string pbstrFriendlyName
)
int GetFriendlyName(
    [OutAttribute] String^% pbstrFriendlyName
)
abstract GetFriendlyName : 
        pbstrFriendlyName:string byref -> int
function GetFriendlyName(
    pbstrFriendlyName : String
) : int

Parameters

  • pbstrFriendlyName
    Type: String%

    [out]

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsProfileSettingsFileInfo::GetFriendlyName(
   [out] BSTR *pbstrFriendlyName
);

.NET Framework Security

See Also

Reference

IVsProfileSettingsFileInfo Interface

Microsoft.VisualStudio.Shell.Interop Namespace