ModelingTextTransformation.ConvertModelRelativePathToTemplateRelativePath 메서드
모델 파일에 상대적으로 나타낸 경로를 템플릿에 상대적으로 나타낸 경로로 변환합니다.
네임스페이스: Microsoft.VisualStudio.TextTemplating.VSHost
어셈블리: Microsoft.VisualStudio.TextTemplating.Modeling.10.0(Microsoft.VisualStudio.TextTemplating.Modeling.10.0.dll)
구문
‘선언
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Protected Shared Function ConvertModelRelativePathToTemplateRelativePath ( _
modelPath As String, _
templatePath As String, _
path As String _
) As String
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected static string ConvertModelRelativePathToTemplateRelativePath(
string modelPath,
string templatePath,
string path
)
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
protected:
static String^ ConvertModelRelativePathToTemplateRelativePath(
String^ modelPath,
String^ templatePath,
String^ path
)
[<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)>]
static member ConvertModelRelativePathToTemplateRelativePath :
modelPath:string *
templatePath:string *
path:string -> string
protected static function ConvertModelRelativePathToTemplateRelativePath(
modelPath : String,
templatePath : String,
path : String
) : String
매개 변수
- modelPath
형식: System.String
모델 파일의 전체 경로입니다.
- templatePath
형식: System.String
템플릿 파일의 전체 경로입니다.
- path
형식: System.String
변환할 경로입니다.
반환 값
형식: System.String
설명
변환된 경로입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.