ModelingTextTransformation.ConvertModelRelativePathToTemplateRelativePath, méthode
Ce membre a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise ce membre lève une exception MethodAccessException.
[ESSENTIEL POUR LA SÉCURITÉ]
Convertit un chemin d'accès exprimé par rapport à un fichier de modèle en un chemin d'accès exprimé par rapport à un modèle.
Espace de noms : Microsoft.VisualStudio.TextTemplating.VSHost
Assembly : Microsoft.VisualStudio.TextTemplating.Modeling.12.0 (dans Microsoft.VisualStudio.TextTemplating.Modeling.12.0.dll)
Syntaxe
'Déclaration
<SecurityCriticalAttribute> _
Protected Shared Function ConvertModelRelativePathToTemplateRelativePath ( _
modelPath As String, _
templatePath As String, _
path As String _
) As String
[SecurityCriticalAttribute]
protected static string ConvertModelRelativePathToTemplateRelativePath(
string modelPath,
string templatePath,
string path
)
[SecurityCriticalAttribute]
protected:
static String^ ConvertModelRelativePathToTemplateRelativePath(
String^ modelPath,
String^ templatePath,
String^ path
)
[<SecurityCriticalAttribute>]
static member ConvertModelRelativePathToTemplateRelativePath :
modelPath:string *
templatePath:string *
path:string -> string
protected static function ConvertModelRelativePathToTemplateRelativePath(
modelPath : String,
templatePath : String,
path : String
) : String
Paramètres
modelPath
Type : StringChemin d'accès complet au fichier de modèle.
templatePath
Type : StringChemin d'accès complet au fichier modèle.
path
Type : StringChemin d'accès à convertir.
Valeur de retour
Type : String
Voir aussi
Référence
ModelingTextTransformation Classe
Microsoft.VisualStudio.TextTemplating.VSHost, espace de noms