ScriptCache.GetScript, méthode (String, Int32, Int32)
Retourne la partie du script définie par l'offset de début et la longueur dans le fichier donné.
Espace de noms : Microsoft.Data.Schema.SchemaModel
Assembly : Microsoft.Data.Schema (dans Microsoft.Data.Schema.dll)
Syntaxe
'Déclaration
Public MustOverride Function GetScript ( _
cacheIdentifier As String, _
startOffset As Integer, _
length As Integer _
) As String
public abstract string GetScript(
string cacheIdentifier,
int startOffset,
int length
)
public:
virtual String^ GetScript(
String^ cacheIdentifier,
int startOffset,
int length
) abstract
abstract GetScript :
cacheIdentifier:string *
startOffset:int *
length:int -> string
public abstract function GetScript(
cacheIdentifier : String,
startOffset : int,
length : int
) : String
Paramètres
- cacheIdentifier
Type : System.String
Identificateur de cache.
- startOffset
Type : System.Int32
Offset de début en caractères.
- length
Type : System.Int32
Longueur du segment de script à récupérer.
Valeur de retour
Type : System.String
string contenant le script demandé.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.