Domain-Specific Language Tools Reference
ModelingTextTransformation..::.ConvertModelRelativePathToTemplateRelativePath Method

Updated: November 2007

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

Syntax

Visual Basic (Declaration)
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Protected Shared Function ConvertModelRelativePathToTemplateRelativePath ( _
    modelPath As String, _
    templatePath As String, _
    path As String _
) As String
Visual Basic (Usage)
Dim modelPath As String
Dim templatePath As String
Dim path As String
Dim returnValue As String

returnValue = ModelingTextTransformation.ConvertModelRelativePathToTemplateRelativePath(modelPath, _
    templatePath, path)
C#
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected static string ConvertModelRelativePathToTemplateRelativePath(
    string modelPath,
    string templatePath,
    string path
)
Visual C++
[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
protected:
static String^ ConvertModelRelativePathToTemplateRelativePath(
    String^ modelPath, 
    String^ templatePath, 
    String^ path
)
JScript
protected static function ConvertModelRelativePathToTemplateRelativePath(
    modelPath : String, 
    templatePath : String, 
    path : String
) : String

Parameters

modelPath
Type: System..::.String
templatePath
Type: System..::.String
path
Type: System..::.String

Return Value

Type: System..::.String
Permissions

See Also

Reference

Tags :


Page view tracker