IVsSettingsReader.ReadSettingXmlAsString Yöntem (String, String)
Depolanmış bir dize nesnesi gibi bir XML ayarın değerini döndürür Visual Studio ayarları dosyası.
Ad Alanı: Microsoft.VisualStudio.Shell.Interop
Derleme: Microsoft.VisualStudio.Shell.Interop.8.0 (Microsoft.VisualStudio.Shell.Interop.8.0.dll içinde)
Sözdizimi
int ReadSettingXmlAsString(
string pszSettingName,
out string pbstrXML
)
int ReadSettingXmlAsString(
String^ pszSettingName,
[OutAttribute] String^% pbstrXML
)
abstract ReadSettingXmlAsString :
pszSettingName:string *
pbstrXML:string byref -> int
Function ReadSettingXmlAsString (
pszSettingName As String,
<OutAttribute> ByRef pbstrXML As String
) As Integer
Parametreler
pszSettingName
Type: System.String[in] Alınacak veri öğesi benzersiz olarak tanımlayan dize.
pbstrXML
Type: System.String[out, retval] Dize belirtilen veri öğesinden alınan Visual Studio ayarları dosyası.
Dönüş Değeri
Type: System.Int32
Yöntem başarılı olursa, döndürür S_OK. Başarısız olursa, bir hata kodu döndürür.
Ayrıca bkz.
IVsSettingsReader Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı
Başa dön