ModelingTextTransformation.ConvertModelRelativePathToTemplateRelativePath Method

Namespace:  Microsoft.VisualStudio.TextTemplating.VSHost
Assembly:  Microsoft.VisualStudio.TextTemplating.VSHost (in Microsoft.VisualStudio.TextTemplating.VSHost.dll)

Syntax

'宣言
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Protected Shared Function ConvertModelRelativePathToTemplateRelativePath ( _
    modelPath As String, _
    templatePath As String, _
    path As String _
) As String
'使用
Dim modelPath As String
Dim templatePath As String
Dim path As String
Dim returnValue As String

returnValue = ModelingTextTransformation.ConvertModelRelativePathToTemplateRelativePath(modelPath, _
    templatePath, path)
[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
)
protected static function ConvertModelRelativePathToTemplateRelativePath(
    modelPath : String, 
    templatePath : String, 
    path : String
) : String

Parameters

Return Value

Type: System.String

Permissions

See Also

Reference

ModelingTextTransformation Class

ModelingTextTransformation Members

Microsoft.VisualStudio.TextTemplating.VSHost Namespace