ObjectReferenceService.AcquireObjectReference 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
개체의 실제 참조를 가져옵니다.
오버로드
AcquireObjectReference(Object) |
실제 참조를 통해 개체의 참조를 가져옵니다. |
AcquireObjectReference(Int32, Int32, Int32, Int32) |
개체의 SourceLocation에 의한 참조를 얻습니다. 이 메서드는 SourceLocationUpdatedEvent(사용 가능한 경우)를 수신할 개체를 자동으로 등록합니다. |
AcquireObjectReference(Object)
실제 참조를 통해 개체의 참조를 가져옵니다.
public:
Guid AcquireObjectReference(System::Object ^ obj);
public Guid AcquireObjectReference (object obj);
member this.AcquireObjectReference : obj -> Guid
Public Function AcquireObjectReference (obj As Object) As Guid
매개 변수
- obj
- Object
참조를 가져오는 데 필요한 개체입니다.
반환
개체의 참조입니다.
적용 대상
AcquireObjectReference(Int32, Int32, Int32, Int32)
개체의 SourceLocation에 의한 참조를 얻습니다. 이 메서드는 SourceLocationUpdatedEvent(사용 가능한 경우)를 수신할 개체를 자동으로 등록합니다.
public:
Guid AcquireObjectReference(int startLine, int startColumn, int endLine, int endColumn);
public Guid AcquireObjectReference (int startLine, int startColumn, int endLine, int endColumn);
member this.AcquireObjectReference : int * int * int * int -> Guid
Public Function AcquireObjectReference (startLine As Integer, startColumn As Integer, endLine As Integer, endColumn As Integer) As Guid
매개 변수
- startLine
- Int32
개체의 시작 줄입니다.
- startColumn
- Int32
개체의 시작 열입니다.
- endLine
- Int32
개체의 끝 줄입니다.
- endColumn
- Int32
개체의 끝 열입니다.
반환
개체의 SourceLocation에 의한 참조입니다.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET