共用方式為


SessionStateTypeEntry Class

Definition

Type file configuration entry...

public ref class SessionStateTypeEntry sealed : System::Management::Automation::Runspaces::InitialSessionStateEntry
public sealed class SessionStateTypeEntry : System.Management.Automation.Runspaces.InitialSessionStateEntry
type SessionStateTypeEntry = class
    inherit InitialSessionStateEntry
Public NotInheritable Class SessionStateTypeEntry
Inherits InitialSessionStateEntry
Inheritance
SessionStateTypeEntry

Constructors

SessionStateTypeEntry(String)

Loads all entries from the types file.

SessionStateTypeEntry(TypeData, Boolean)

Loads all entries from the typeData.

SessionStateTypeEntry(TypeTable)

Loads all the types specified in the typeTable.

Properties

FileName

The pathname of the types.ps1xml file. This can be null if TypeTable constructor or TypeData constructor is used.

IsRemove

The operation will be done on the typedata. This is only meaningful when the TypeData constructor is used.

Module

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
Name

The name of this entry.

(Inherited from InitialSessionStateEntry)
PSSnapIn

The SnapIn to load from initially.

(Inherited from InitialSessionStateEntry)
TypeData

The TypeData we want to update with. This can be null if FileName constructor or TypeTable constructor is used.

TypeTable

The TypeTable specified with constructor. This can be null if FileName constructor or TypeData constructor is used.

Methods

Clone()

Shallow-clone this object.

Applies to