SecureString.Length プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

現在のセキュリティ文字列長さ取得します

名前空間: System.Security
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Visual Basic (宣言)

Public ReadOnly Property Length As Integer

Visual Basic (使用法)

Dim instance As SecureString Dim value As Integer

value = instance.Length

C#

public int Length { get; }

C++

public: property int Length { int get (); }

J#

/** @property */ public int get_Length ()

JScript

public function get Length () : int

プロパティ
このセキュリティ文字列含まれる System.Char オブジェクトの数。

例外例外

例外種類 条件
ObjectDisposedException このセキュリティ文字列は、既に破棄されています。

プラットフォームプラットフォーム

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォーム中には.NET Framework によってサポートされていないバージョンありますサポートされているバージョンについては、「システム要件」を参照してください

バージョン情報バージョン情報

.NET Framework
サポート対象 : 2.0

参照参照

関連項目
SecureString クラス
SecureString メンバ
System.Security 名前空間