Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Removes a property from a project file.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
Syntax
'Declaration
Function RemoveProperty ( _
pszPropName As String, _
pszConfigName As String, _
storage As UInteger _
) As Integer
int RemoveProperty(
string pszPropName,
string pszConfigName,
uint storage
)
int RemoveProperty(
[InAttribute] String^ pszPropName,
[InAttribute] String^ pszConfigName,
[InAttribute] unsigned int storage
)
abstract RemoveProperty :
pszPropName:string *
pszConfigName:string *
storage:uint32 -> int
function RemoveProperty(
pszPropName : String,
pszConfigName : String,
storage : uint
) : int
Parameters
pszPropName
Type: System.String[in] Name of the property to remove.
pszConfigName
Type: System.String[in] Configuration associated with the property.
storage
Type: System.UInt32[in] _PersistStorageType specifying whether the property is stored in a project or user file.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell90.idl:
HRESULT RemoveProperty(
[in] LPCOLESTR pszPropName,
[in] LPCOLESTR pszConfigName,
[in] PersistStorageType storage,
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.