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

‘선언
Function GetFriendlyName ( _
    <OutAttribute> ByRef pbstrFriendlyName As String _
) As Integer
‘사용 방법
Dim instance As IVsProfileSettingsFileInfo
Dim pbstrFriendlyName As String
Dim returnValue As Integer

returnValue = instance.GetFriendlyName(pbstrFriendlyName)
int GetFriendlyName(
    out string pbstrFriendlyName
)
int GetFriendlyName(
    [OutAttribute] String^% pbstrFriendlyName
)
abstract GetFriendlyName : 
        pbstrFriendlyName:string byref -> int 
function GetFriendlyName(
    pbstrFriendlyName : String
) : int

Parameters

Return Value

Type: System.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

IVsProfileSettingsFileInfo Members

Microsoft.VisualStudio.Shell.Interop Namespace