PSContextInfo 建構函式 (Boolean, String, Guid, Guid, Guid, Int32, CultureInfo, CultureInfo, Guid, String)
命名空間: Microsoft.Office.Project.Server.Library
組件: Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)
語法
'宣告
Public Sub New ( _
isWindowsUser As Boolean, _
userName As String, _
userGuid As Guid, _
trackingGuid As Guid, _
siteGuid As Guid, _
urlZone As Integer, _
languageCulture As CultureInfo, _
localeCulture As CultureInfo, _
delegateGuid As Guid, _
delegateName As String _
)
'用途
Dim isWindowsUser As Boolean
Dim userName As String
Dim userGuid As Guid
Dim trackingGuid As Guid
Dim siteGuid As Guid
Dim urlZone As Integer
Dim languageCulture As CultureInfo
Dim localeCulture As CultureInfo
Dim delegateGuid As Guid
Dim delegateName As String
Dim instance As New PSContextInfo(isWindowsUser, _
userName, userGuid, trackingGuid, _
siteGuid, urlZone, languageCulture, _
localeCulture, delegateGuid, delegateName)
public PSContextInfo(
bool isWindowsUser,
string userName,
Guid userGuid,
Guid trackingGuid,
Guid siteGuid,
int urlZone,
CultureInfo languageCulture,
CultureInfo localeCulture,
Guid delegateGuid,
string delegateName
)
參數
- isWindowsUser
類型:System.Boolean
- userName
類型:System.String
- userGuid
類型:System.Guid
- trackingGuid
類型:System.Guid
- siteGuid
類型:System.Guid
- urlZone
類型:System.Int32
- languageCulture
類型:System.Globalization.CultureInfo
- localeCulture
類型:System.Globalization.CultureInfo
- delegateGuid
類型:System.Guid
- delegateName
類型:System.String