ColorableItem.GetDefaultColors(COLORINDEX[], COLORINDEX[]) 메서드

정의

사용자 지정 ColorableItem 개체의 기본 배경색과 전경색을 정의합니다.

public:
 virtual int GetDefaultColors(cli::array <Microsoft::VisualStudio::TextManager::Interop::COLORINDEX> ^ piForeground, cli::array <Microsoft::VisualStudio::TextManager::Interop::COLORINDEX> ^ piBackground);
public int GetDefaultColors (Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] piForeground, Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] piBackground);
abstract member GetDefaultColors : Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] * Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] -> int
override this.GetDefaultColors : Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] * Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[] -> int
Public Function GetDefaultColors (piForeground As COLORINDEX(), piBackground As COLORINDEX()) As Integer

매개 변수

piForeground
COLORINDEX[]

COLORINDEX전경색을 반환하는 [] 배열입니다.

piBackground
COLORINDEX[]

COLORINDEX배경색을 반환하는 [] 배열입니다.

반환

정의된 결과를 지정하는 정수 값입니다. 메서드가 성공하면 S_OK가 반환되고, 실패하면 해당 예외가 발생합니다.

구현

적용 대상