共用方式為


FormsAuthenticationCredentials 建構函式

定義

初始化 FormsAuthenticationCredentials 類別的新執行個體。

public:
 FormsAuthenticationCredentials();
public FormsAuthenticationCredentials ();
Public Sub New ()

範例

下列程式碼範例示範如何建立 FormsAuthenticationCredentials 物件。

// Create a new FormsAuthenticationCredentials object.
FormsAuthenticationCredentials newformsAuthenticationCredentials = 
    new FormsAuthenticationCredentials();
' Create a new FormsAuthenticationCredentials object.
  Dim newformsAuthenticationCredentials _
  As New FormsAuthenticationCredentials()

適用於