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 ReadSettingAttribute ( _
pszSettingName As String, _
pszAttributeName As String, _
<OutAttribute> ByRef pbstrSettingValue As String _
) As Integer
'使用
Dim instance As IVsSettingsReader
Dim pszSettingName As String
Dim pszAttributeName As String
Dim pbstrSettingValue As String
Dim returnValue As Integer
returnValue = instance.ReadSettingAttribute(pszSettingName, _
pszAttributeName, pbstrSettingValue)
int ReadSettingAttribute(
string pszSettingName,
string pszAttributeName,
out string pbstrSettingValue
)
int ReadSettingAttribute(
[InAttribute] String^ pszSettingName,
[InAttribute] String^ pszAttributeName,
[OutAttribute] String^% pbstrSettingValue
)
function ReadSettingAttribute(
pszSettingName : String,
pszAttributeName : String,
pbstrSettingValue : String
) : int
Parameters
pszSettingName
Type: System.String[in]
pszAttributeName
Type: System.String[in]
pbstrSettingValue
Type: System.String%[out]
Return Value
Type: System.Int32
Permissions
- 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.