IInternalConfigHost.OpenStreamForWrite Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| OpenStreamForWrite(String, String, Object) |
Ouvre un Stream objet pour l’écriture dans un fichier de configuration ou pour l’écriture dans un fichier temporaire utilisé pour générer un fichier de configuration. Permet à un Stream objet d’être désigné comme modèle pour copier des attributs de fichier. |
| OpenStreamForWrite(String, String, Object, Boolean) |
Ouvre un Stream objet pour l’écriture dans un fichier de configuration. Permet à un Stream objet d’être désigné comme modèle pour copier des attributs de fichier. |
OpenStreamForWrite(String, String, Object)
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
public:
System::IO::Stream ^ OpenStreamForWrite(System::String ^ streamName, System::String ^ templateStreamName, System::Object ^ % writeContext);
public System.IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext);
abstract member OpenStreamForWrite : string * string * obj -> System.IO.Stream
Public Function OpenStreamForWrite (streamName As String, templateStreamName As String, ByRef writeContext As Object) As Stream
Paramètres
- streamName
- String
Chaîne représentant le nom de l’objet Stream effectuant des tâches d’E/S sur le fichier de configuration.
- templateStreamName
- String
Nom d’un Stream objet à partir duquel les attributs de fichier doivent être copiés en tant que modèle.
Retours
Objet Stream.
S’applique à
OpenStreamForWrite(String, String, Object, Boolean)
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
- Source:
- IInternalConfigHost.cs
public:
System::IO::Stream ^ OpenStreamForWrite(System::String ^ streamName, System::String ^ templateStreamName, System::Object ^ % writeContext, bool assertPermissions);
public System.IO.Stream OpenStreamForWrite(string streamName, string templateStreamName, ref object writeContext, bool assertPermissions);
abstract member OpenStreamForWrite : string * string * obj * bool -> System.IO.Stream
Public Function OpenStreamForWrite (streamName As String, templateStreamName As String, ByRef writeContext As Object, assertPermissions As Boolean) As Stream
Paramètres
- streamName
- String
Chaîne représentant le nom de l’objet Stream effectuant des tâches d’E/S sur le fichier de configuration.
- templateStreamName
- String
Nom d’un Stream fichier à partir duquel les attributs de fichier doivent être copiés en tant que modèle.
- writeContext
- Object
Contexte d’écriture de l’objet Stream effectuant des tâches d’E/S sur le fichier de configuration.
- assertPermissions
- Boolean
true pour déclarer des autorisations ; sinon, false.
Retours
Objet spécifié par streamName.