다음을 통해 공유


IEditorOptionsFactoryService.GetOptions 메서드

IPropertyOwnerIEditorOptions를 가져옵니다. 버퍼 및 뷰는 속성 소유자입니다. 범위에 대한 새 옵션이 이전에 만들어지지 않은 경우 새 옵션을 만듭니다.

네임스페이스:  Microsoft.VisualStudio.Text.Editor
어셈블리:  Microsoft.VisualStudio.Text.Logic(Microsoft.VisualStudio.Text.Logic.dll)

구문

‘선언
Function GetOptions ( _
    scope As IPropertyOwner _
) As IEditorOptions
IEditorOptions GetOptions(
    IPropertyOwner scope
)
IEditorOptions^ GetOptions(
    IPropertyOwner^ scope
)
abstract GetOptions : 
        scope:IPropertyOwner -> IEditorOptions
function GetOptions(
    scope : IPropertyOwner
) : IEditorOptions

매개 변수

반환 값

형식: Microsoft.VisualStudio.Text.Editor.IEditorOptions
지정된 IPropertyOwnerIEditorOptions입니다.

설명

이 메서드는 지정 된 범위에 대 한 옵션 집합을 반환합니다. 이 범위에서 정의 된 옵션 상위 범위에서 옵션에 영향을 줍니다. 이 범위에 옵션을 표시 하는 경우 재정의 된 값 범위에서에 대해 해당 메서드를 확인 합니다. 없는 경우에 해당 부모 범위 옵션에서 값을 가져옵니다. 적용할 수 있는 옵션 집합이 범위에 따라 변경 될 수 있습니다. 텍스트 뷰 범위에 정의 된 옵션 텍스트 버퍼를 적용 하지 않습니다.

.NET Framework 보안

참고 항목

참조

IEditorOptionsFactoryService 인터페이스

Microsoft.VisualStudio.Text.Editor 네임스페이스