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
- pbstrFriendlyName
Type: System.String%
[out]
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
- 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.
See Also
Reference
IVsProfileSettingsFileInfo Interface