IDatabaseNode.GetItemAttribute 메서드

프로젝트 파일에서 이 항목에 대한 메타데이터를 반환합니다. 이 호출은 GetItemAttribute를 편리하게 사용하기 위한 것입니다.

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

구문

‘선언
Function GetItemAttribute ( _
    attributeName As String, _
    <OutAttribute> ByRef attributeValue As String _
) As Integer
int GetItemAttribute(
    string attributeName,
    out string attributeValue
)
int GetItemAttribute(
    String^ attributeName, 
    [OutAttribute] String^% attributeValue
)
abstract GetItemAttribute : 
        attributeName:string * 
        attributeValue:string byref -> int 
function GetItemAttribute(
    attributeName : String, 
    attributeValue : String
) : int

매개 변수

반환 값

형식: System.Int32
HRESULT

설명

attributeName이 null이거나 String.Empty인 경우 예외를 throw합니다.

.NET Framework 보안

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

참고 항목

참조

IDatabaseNode 인터페이스

Microsoft.VisualStudio.Data.Schema.Package.Project 네임스페이스