Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Function GetProjectTrustLevel ( _
projectGuid As Guid _
) As ProjectTrustLevel
'使用
Dim instance As ProjectPackage
Dim projectGuid As Guid
Dim returnValue As ProjectTrustLevel
returnValue = instance.GetProjectTrustLevel(projectGuid)
public ProjectTrustLevel GetProjectTrustLevel(
Guid projectGuid
)
public:
ProjectTrustLevel GetProjectTrustLevel(
Guid projectGuid
)
public function GetProjectTrustLevel(
projectGuid : Guid
) : ProjectTrustLevel
Parameters
- projectGuid
Type: System.Guid
Return Value
Type: Microsoft.VisualStudio.Package.ProjectTrustLevel
Permissions
- 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.