IVsPerPropertyBrowsing::GetLocalizedPropertyInfo Method (Int32, UInt32, String^, String^)
Visual Studio 2015
Retrieves the localized name and description for a property.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetLocalizedPropertyInfo( int dispid, unsigned int localeID, [OutAttribute] String^% pbstrLocalizedName, [OutAttribute] String^% pbstrLocalizeDescription )
Parameters
- dispid
-
Type:
System::Int32
[in] Specifies dispatch ID.
- localeID
-
Type:
System::UInt32
[in] Specifies localeID.
- pbstrLocalizedName
-
Type:
System::String^
[out] Pointer to a string containing the localized name.
- pbstrLocalizeDescription
-
Type:
System::String^
[out] Pointer to a string containing the localize description.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
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.
Show: