ModelingTextTransformation.ConvertModelRelativePathToTemplateRelativePath Method (String, String, String)
Convert a path expressed relative to a model file to one expressed relative to a template.
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (in Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
Syntax
[SecurityCriticalAttribute]
protected static string ConvertModelRelativePathToTemplateRelativePath(
string modelPath,
string templatePath,
string path
)
protected:
[SecurityCriticalAttribute]
static String^ ConvertModelRelativePathToTemplateRelativePath(
String^ modelPath,
String^ templatePath,
String^ path
)
[<SecurityCriticalAttribute>]
static member ConvertModelRelativePathToTemplateRelativePath :
modelPath:string *
templatePath:string *
path:string -> string
<SecurityCriticalAttribute>
Protected Shared Function ConvertModelRelativePathToTemplateRelativePath (
modelPath As String,
templatePath As String,
path As String
) As String
Parameters
modelPath
Type: System.StringThe full path of the model file.
templatePath
Type: System.StringThe full path of the template file.
path
Type: System.StringThe path to be converted.
Return Value
Type: System.String
Remarks
The converted path.
See Also
ModelingTextTransformation Class
Microsoft.VisualStudio.TextTemplating.VSHost Namespace
Return to top