Aracılığıyla paylaş


IVsRegisterProjectTypes.UnregisterProjectType Yöntem (UInt32)

 

Proje tipinin kaydını siler.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int UnregisterProjectType(
    uint dwCookie
)
int UnregisterProjectType(
    unsigned int dwCookie
)
abstract UnregisterProjectType : 
        dwCookie:uint32 -> int
Function UnregisterProjectType (
    dwCookie As UInteger
) As Integer

Parametreler

  • dwCookie
    [in] Proje türü çağrısıyla kaydolurken soyut tanıtıcı döndürdü ortamından RegisterProjectType yöntemi.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, verir S_OK.Başarısız olursa, bir hata kodu döndürür.

Notlar

com imzası

Vsshell.idl:

HRESULT IVsRegisterProjectTypes::UnregisterProjectType(
   [in] VSCOOKIE dwCookie
);

UnreigsterProjectType Yöntemi çağrılır Close yöntemi.Bu proje fabrika ortamında sırasında geçirilen gösterir RegisterProjectType artık kullanılabilir değil.

Ayrıca bkz.

IVsRegisterProjectTypes Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön