IVsPerPropertyBrowsing.GetLocalizedPropertyInfo Method

Definition

Retrieves the localized name and description for a property.

public:
 int GetLocalizedPropertyInfo(int dispid, System::UInt32 localeID, [Runtime::InteropServices::Out] System::String ^ % pbstrLocalizedName, [Runtime::InteropServices::Out] System::String ^ % pbstrLocalizeDescription);
int GetLocalizedPropertyInfo(int dispid, unsigned int localeID, [Runtime::InteropServices::Out] std::wstring const & & pbstrLocalizedName, [Runtime::InteropServices::Out] std::wstring const & & pbstrLocalizeDescription);
public int GetLocalizedPropertyInfo (int dispid, uint localeID, out string pbstrLocalizedName, out string pbstrLocalizeDescription);
abstract member GetLocalizedPropertyInfo : int * uint32 * string * string -> int
Public Function GetLocalizedPropertyInfo (dispid As Integer, localeID As UInteger, ByRef pbstrLocalizedName As String, ByRef pbstrLocalizeDescription As String) As Integer

Parameters

dispid
Int32

[in] Specifies dispatch ID.

localeID
UInt32

[in] Specifies localeID.

pbstrLocalizedName
String

[out] Pointer to a string containing the localized name.

pbstrLocalizeDescription
String

[out] Pointer to a string containing the localize description.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPerPropertyBrowsing::GetLocalizedPropertyInfo(  
   DISPID dispid, LCID localeID,  
   [out]BSTR* pbstrLocalizedName,  
   [out]BSTR* pbstrLocalizeDescription  
);  

Retrieves the localized name and description for a property of the selected object. Returning a non-S_OK return code will display the default values. Implementers must handle the case of one or both BSTR* values being null.

Applies to