IVsTextMarkerType.GetDefaultLineStyle(COLORINDEX[], LINESTYLE[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the default line attributes for a custom marker type.
public:
int GetDefaultLineStyle(cli::array <Microsoft::VisualStudio::TextManager::Interop::COLORINDEX> ^ piLineColor, cli::array <Microsoft::VisualStudio::TextManager::Interop::LINESTYLE> ^ piLineIndex);
public:
int GetDefaultLineStyle(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::COLORINDEX> ^ piLineColor, Platform::Array <Microsoft::VisualStudio::TextManager::Interop::LINESTYLE> ^ piLineIndex);
int GetDefaultLineStyle(std::Array <Microsoft::VisualStudio::TextManager::Interop::COLORINDEX> const & piLineColor, std::Array <Microsoft::VisualStudio::TextManager::Interop::LINESTYLE> const & piLineIndex);
public int GetDefaultLineStyle (Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] piLineColor, Microsoft.VisualStudio.TextManager.Interop.LINESTYLE[] piLineIndex);
abstract member GetDefaultLineStyle : Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] * Microsoft.VisualStudio.TextManager.Interop.LINESTYLE[] -> int
Public Function GetDefaultLineStyle (piLineColor As COLORINDEX(), piLineIndex As LINESTYLE()) As Integer
Parameters
- piLineColor
- COLORINDEX[]
[out] Pointer to the default line color. For a list of piLineColor
values, see COLORINDEX.
- piLineIndex
- LINESTYLE[]
[out] Pointer to the default line style. For a list of piLineIndex
values, see LINESTYLE.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextMarkerType::GetDefaultLineStyle(
[out] COLORINDEX *piLineColor,
[out] LINESTYLE *piLineIndex
);