SourceCodePosition 생성자

제공된 매개 변수를 사용하여 SourceCodePosition 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.Data.Schema.SchemaModel
어셈블리:  Microsoft.Data.Schema(Microsoft.Data.Schema.dll)

구문

‘선언
Public Sub New ( _
    isPrimary As Boolean, _
    startOffset As Integer, _
    length As Integer, _
    startLine As Integer, _
    startColumn As Integer, _
    sourceName As String _
)
public SourceCodePosition(
    bool isPrimary,
    int startOffset,
    int length,
    int startLine,
    int startColumn,
    string sourceName
)
public:
SourceCodePosition(
    bool isPrimary, 
    int startOffset, 
    int length, 
    int startLine, 
    int startColumn, 
    String^ sourceName
)
new : 
        isPrimary:bool * 
        startOffset:int * 
        length:int * 
        startLine:int * 
        startColumn:int * 
        sourceName:string -> SourceCodePosition
public function SourceCodePosition(
    isPrimary : boolean, 
    startOffset : int, 
    length : int, 
    startLine : int, 
    startColumn : int, 
    sourceName : String
)

매개 변수

  • isPrimary
    형식: System.Boolean
    이 개체가 자신이 정의하는 요소의 기본 소스이면 true입니다.
  • startOffset
    형식: System.Int32
    소스 파일에서 정의가 시작되는 부분의 오프셋입니다.
  • startLine
    형식: System.Int32
    정의가 시작되는 줄입니다.
  • startColumn
    형식: System.Int32
    정의가 시작되는 열입니다.
  • sourceName
    형식: System.String
    일반적으로 파일 이름인 소스의 이름입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

SourceCodePosition 클래스

Microsoft.Data.Schema.SchemaModel 네임스페이스